1
Fork 0

Don't recommend if let if let else works

This commit is contained in:
mejrs 2022-12-23 22:23:37 +01:00 committed by David Tolnay
parent 31c20210b9
commit 8476c517c0
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
11 changed files with 26 additions and 89 deletions

View file

@ -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