Commit b4baef5
authored
Rollup merge of rust-lang#94600 - est31:master, r=notriddle
Use if let instead of manual match
Factored out of rust-lang#94139 . `if let` is better here than both `let ... else` and `let ... = match`.1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1506 | 1506 | | |
1507 | 1507 | | |
1508 | 1508 | | |
1509 | | - | |
1510 | | - | |
1511 | | - | |
1512 | | - | |
1513 | | - | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
1514 | 1514 | | |
1515 | 1515 | | |
1516 | 1516 | | |
| |||
0 commit comments