mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 06:43:20 +03:00
a245bfa617
We can replace some tricky iterator-mutation code with a much simpler version that uses `while let` to shrink a slice. We also check whether a subpattern would be a wildcard _before_ hoisting it, which will be very useful when trying to get rid of `print::PatKind` later.