You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-07-06 14:35:36 +02:00
Fixes #2070. Previously we showed a forcibly de-nested version using both let and if-let. this is not a construction that new learners of Rust are likely to have seen or written, while nesting if-let is closer to patterns that appear in other languages and better motivates the de-nesting transformation to let-else