mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-29 22:53:54 +00:00
Simplify an iterator search in borrowck diag Rather than `.into_iter().rev().find_position(...)`, this case can simply call `.iter().rposition(...)`.