about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-02-12 22:53:38 +0100
committerGitHub <noreply@github.com>2021-02-12 22:53:38 +0100
commit1ef566fc7c72a5e15ffd54334c744b6638b24374 (patch)
treec971608c75fc98dd65787e909375c93744b563da /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent54013fe59e7dc8667226eda4855516335dd1094c (diff)
parentfde59a8cb73f87ced306a29649b80c3776bab526 (diff)
downloadrust-1ef566fc7c72a5e15ffd54334c744b6638b24374.tar.gz
rust-1ef566fc7c72a5e15ffd54334c744b6638b24374.zip
Rollup merge of #82030 - LingMan:init_directly, r=varkor
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