mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-11 14:48:41 +00:00

Use a closure instead of three chained iterators Fixes the perf regression from #123948 That PR had chained a third option to the iterator which apparently didn't optimize well