mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
d37edef9dd
This is a spiritual succesor to #34268/8531d581, in which we replaced a number of matches of None to the unit value with `if let` conditionals where it was judged that this made for clearer/simpler code (as would be recommended by Manishearth/rust-clippy's `single_match` lint). The same rationale applies to matches of None to the empty block.