about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorLingMan <LingMan@users.noreply.github.com>2021-02-12 13:58:13 +0100
committerLingMan <LingMan@users.noreply.github.com>2021-02-12 14:02:35 +0100
commitfde59a8cb73f87ced306a29649b80c3776bab526 (patch)
treeedf402588e03197ad33364eb803c48b33f2ea31a /compiler/rustc_codegen_llvm/src/llvm_util.rs
parente9920ef7749d11fc71cc32ca4ba055bcfeaab945 (diff)
downloadrust-fde59a8cb73f87ced306a29649b80c3776bab526.tar.gz
rust-fde59a8cb73f87ced306a29649b80c3776bab526.zip
Use `Iterator::all` instead of open-coding it
Shorter code and by initializing to the final value directly, the variable
doesn't need to be mut.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions