about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorRyo Yoshida <low.ryoshida@gmail.com>2023-07-27 16:30:57 +0900
committerRyo Yoshida <low.ryoshida@gmail.com>2023-07-27 16:30:57 +0900
commit10b5fd14314882633ec2162fd259246063949330 (patch)
tree73670fe0e33c5ac229908564ab5db8277a5d2046 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentb64e5b3919b24bc784f36248e6e1f921ee7bb71b (diff)
downloadrust-10b5fd14314882633ec2162fd259246063949330.tar.gz
rust-10b5fd14314882633ec2162fd259246063949330.zip
Minor refactoring
- use `str::parse()` rather than `FromStr::from_str()`
- use `iter::once()` instead of constructing `Vec` for a single element
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions