about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2024-03-23 17:24:13 -0700
committerJosh Stone <jistone@redhat.com>2024-03-23 17:24:13 -0700
commit66f1e14cc3fa48aa29ecd19274207bfd3fb08fa8 (patch)
treef9ae7ecf62c713a39876b83b41493ec56e746c67 /compiler/rustc_parse/src/errors.rs
parente50ab294714ae706f85948efb17fac3c599ba2d3 (diff)
downloadrust-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