about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSerial <69764315+Serial-ATA@users.noreply.github.com>2022-05-25 17:37:57 -0400
committerSerial <69764315+Serial-ATA@users.noreply.github.com>2022-05-25 17:37:57 -0400
commit1c573c7f1849ecbef1818d862115bd512dcb9cdb (patch)
treeaa7882cf45d38e4d84a125132da3141113d3c329
parentb97784fd07b1981292703fb136cf6e4f7cddc113 (diff)
downloadrust-1c573c7f1849ecbef1818d862115bd512dcb9cdb.tar.gz
rust-1c573c7f1849ecbef1818d862115bd512dcb9cdb.zip
Remove newlines in [`match_str_case_mismatch`] example
-rw-r--r--clippy_lints/src/match_str_case_mismatch.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/clippy_lints/src/match_str_case_mismatch.rs b/clippy_lints/src/match_str_case_mismatch.rs
index 85aec93670b..d97a878825a 100644
--- a/clippy_lints/src/match_str_case_mismatch.rs
+++ b/clippy_lints/src/match_str_case_mismatch.rs
@@ -21,7 +21,6 @@ declare_clippy_lint! {
     /// ### Example
     /// ```rust
     /// # let text = "Foo";
-    ///
     /// match &*text.to_ascii_lowercase() {
     ///     "foo" => {},
     ///     "Bar" => {},
@@ -31,7 +30,6 @@ declare_clippy_lint! {
     /// Use instead:
     /// ```rust
     /// # let text = "Foo";
-    ///
     /// match &*text.to_ascii_lowercase() {
     ///     "foo" => {},
     ///     "bar" => {},