Skip to content

Commit 49dff2c

Browse files
committed
Auto merge of #4397 - kraai:remove-a, r=flip1995
Remove "a" from single_match_else description changelog: none
2 parents b83dece + a68abc0 commit 49dff2c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clippy_lints/src/matches.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ declare_clippy_lint! {
4141
}
4242

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

8282
declare_clippy_lint! {

src/lintlist/mod.rs

+1-1
Original file line numberDiff line numberDiff 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
},

0 commit comments

Comments
 (0)