File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ declare_clippy_lint! {
4141}
4242
4343declare_clippy_lint ! {
44- /// **What it does:** Checks for matches with a two arms where an `if let else` will
44+ /// **What it does:** Checks for matches with two arms where an `if let else` will
4545 /// usually suffice.
4646 ///
4747 /// **Why is this bad?** Just readability – `if let` nests less than a `match`.
@@ -76,7 +76,7 @@ declare_clippy_lint! {
7676 /// ```
7777 pub SINGLE_MATCH_ELSE ,
7878 pedantic,
79- "a match statement with a two arms where the second arm's pattern is a placeholder instead of a specific match pattern"
79+ "a match statement with two arms where the second arm's pattern is a placeholder instead of a specific match pattern"
8080}
8181
8282declare_clippy_lint ! {
Original file line number Diff line number Diff line change @@ -1676,7 +1676,7 @@ pub const ALL_LINTS: [Lint; 309] = [
16761676 Lint {
16771677 name : "single_match_else" ,
16781678 group : "pedantic" ,
1679- desc : "a match statement with a two arms where the second arm\' s pattern is a placeholder instead of a specific match pattern" ,
1679+ desc : "a match statement with two arms where the second arm\' s pattern is a placeholder instead of a specific match pattern" ,
16801680 deprecation : None ,
16811681 module : "matches" ,
16821682 } ,
You can’t perform that action at this time.
0 commit comments