diff options
| author | LingMan <LingMan@users.noreply.github.com> | 2021-02-12 13:58:13 +0100 |
|---|---|---|
| committer | LingMan <LingMan@users.noreply.github.com> | 2021-02-12 14:02:35 +0100 |
| commit | fde59a8cb73f87ced306a29649b80c3776bab526 (patch) | |
| tree | edf402588e03197ad33364eb803c48b33f2ea31a /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | e9920ef7749d11fc71cc32ca4ba055bcfeaab945 (diff) | |
| download | rust-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
