From 1c573c7f1849ecbef1818d862115bd512dcb9cdb Mon Sep 17 00:00:00 2001 From: Serial <69764315+Serial-ATA@users.noreply.github.com> Date: Wed, 25 May 2022 17:37:57 -0400 Subject: [PATCH] Remove newlines in [`match_str_case_mismatch`] example --- clippy_lints/src/match_str_case_mismatch.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/clippy_lints/src/match_str_case_mismatch.rs b/clippy_lints/src/match_str_case_mismatch.rs index 85aec93670b9..d97a878825af 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" => {},