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.
|
||
|---|---|---|
| .. | ||
| build | ||
| thir | ||
| check_unsafety.rs | ||
| lib.rs | ||
| lints.rs | ||