diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2023-10-10 15:44:33 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2023-10-10 18:44:16 +1100 |
| commit | f214497d22588c95b94f8ef89ca2db7d71424c36 (patch) | |
| tree | 231dd61b362b15d31bd69912aa865df752ad18db /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | fa6d1e75125d9c94c21a58c2301492026031fcb8 (diff) | |
| download | rust-f214497d22588c95b94f8ef89ca2db7d71424c36.tar.gz rust-f214497d22588c95b94f8ef89ca2db7d71424c36.zip | |
coverage: Replace `ShortCircuitPreorder` with a single function
Instead of defining a named struct, we can use `std::iter::from_fn` and store intermediate state in a closure.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
