mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 02:53:43 +00:00
This performs a substitution of code following the pattern:
let <id> = if let <pat> = ... { identity } else { ... : ! };
To simplify it to:
let <pat> = ... { identity } else { ... : ! };
By adopting the let_else feature.
For more information about how rustc works, see the rustc dev guide.