File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ declare_clippy_lint! {
41
41
}
42
42
43
43
declare_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
45
45
/// usually suffice.
46
46
///
47
47
/// **Why is this bad?** Just readability – `if let` nests less than a `match`.
@@ -76,7 +76,7 @@ declare_clippy_lint! {
76
76
/// ```
77
77
pub SINGLE_MATCH_ELSE ,
78
78
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"
80
80
}
81
81
82
82
declare_clippy_lint ! {
Original file line number Diff line number Diff line change @@ -1676,7 +1676,7 @@ pub const ALL_LINTS: [Lint; 309] = [
1676
1676
Lint {
1677
1677
name : "single_match_else" ,
1678
1678
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" ,
1680
1680
deprecation : None ,
1681
1681
module : "matches" ,
1682
1682
} ,
You can’t perform that action at this time.
0 commit comments