diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2021-02-12 22:53:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-12 22:53:38 +0100 |
| commit | 1ef566fc7c72a5e15ffd54334c744b6638b24374 (patch) | |
| tree | c971608c75fc98dd65787e909375c93744b563da /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 54013fe59e7dc8667226eda4855516335dd1094c (diff) | |
| parent | fde59a8cb73f87ced306a29649b80c3776bab526 (diff) | |
| download | rust-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
