diff options
| author | Josh Stone <jistone@redhat.com> | 2024-03-23 17:24:13 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2024-03-23 17:24:13 -0700 |
| commit | 66f1e14cc3fa48aa29ecd19274207bfd3fb08fa8 (patch) | |
| tree | f9ae7ecf62c713a39876b83b41493ec56e746c67 /compiler/rustc_parse/src/errors.rs | |
| parent | e50ab294714ae706f85948efb17fac3c599ba2d3 (diff) | |
| download | rust-66f1e14cc3fa48aa29ecd19274207bfd3fb08fa8.tar.gz rust-66f1e14cc3fa48aa29ecd19274207bfd3fb08fa8.zip | |
Simplify an iterator search in borrowck diag
Rather than `.into_iter().rev().find_position(...)`, this case can simply call `.iter().rposition(...)`.
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
