mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
7409a5281d
match lowering: Use an iterator to find `expand_until` A small cleanup that I noticed while looking at #127164. This makes it easier to see that the split point is always the index after the found item, or the whole list if no stopping point was found. r? `@Nadrieril`