Don't recommend if let
if let else
works
This commit is contained in:
parent
31c20210b9
commit
8476c517c0
11 changed files with 26 additions and 89 deletions
|
@ -358,7 +358,7 @@ mir_build_suggest_if_let = you might want to use `if let` to ignore the {$count
|
|||
*[other] variants that aren't
|
||||
} matched
|
||||
|
||||
mir_build_suggest_let_else = alternatively, you might want to use `let else` to handle the {$count ->
|
||||
mir_build_suggest_let_else = you might want to use `let else` to handle the {$count ->
|
||||
[one] variant that isn't
|
||||
*[other] variants that aren't
|
||||
} matched
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue