diff options
| author | bors <bors@rust-lang.org> | 2019-08-16 20:04:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-08-16 20:04:39 +0000 |
| commit | 49dff2c9f34995af9d2d665e712fcf17924b33e3 (patch) | |
| tree | e55586f654c08b788220ed91ff334afd310a5acb | |
| parent | b83dece2632e0fb3d02301ad03af70bf25a19a9b (diff) | |
| parent | a68abc03a2a43455b56b8383001ab8282ee766ad (diff) | |
| download | rust-49dff2c9f34995af9d2d665e712fcf17924b33e3.tar.gz rust-49dff2c9f34995af9d2d665e712fcf17924b33e3.zip | |
Auto merge of #4397 - kraai:remove-a, r=flip1995
Remove "a" from single_match_else description changelog: none
| -rw-r--r-- | clippy_lints/src/matches.rs | 4 | ||||
| -rw-r--r-- | src/lintlist/mod.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/clippy_lints/src/matches.rs b/clippy_lints/src/matches.rs index 8a6f6970e1b..52265ae55bf 100644 --- a/clippy_lints/src/matches.rs +++ b/clippy_lints/src/matches.rs @@ -41,7 +41,7 @@ declare_clippy_lint! { } declare_clippy_lint! { - /// **What it does:** Checks for matches with a two arms where an `if let else` will + /// **What it does:** Checks for matches with two arms where an `if let else` will /// usually suffice. /// /// **Why is this bad?** Just readability – `if let` nests less than a `match`. @@ -76,7 +76,7 @@ declare_clippy_lint! { /// ``` pub SINGLE_MATCH_ELSE, pedantic, - "a match statement with a two arms where the second arm's pattern is a placeholder instead of a specific match pattern" + "a match statement with two arms where the second arm's pattern is a placeholder instead of a specific match pattern" } declare_clippy_lint! { diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs index c02cdcdbd45..0df8370936c 100644 --- a/src/lintlist/mod.rs +++ b/src/lintlist/mod.rs @@ -1676,7 +1676,7 @@ pub const ALL_LINTS: [Lint; 309] = [ Lint { name: "single_match_else", group: "pedantic", - desc: "a match statement with a two arms where the second arm\'s pattern is a placeholder instead of a specific match pattern", + desc: "a match statement with two arms where the second arm\'s pattern is a placeholder instead of a specific match pattern", deprecation: None, module: "matches", }, |
