Remove newlines in [match_str_case_mismatch] example

This commit is contained in:
Serial 2022-05-25 17:37:57 -04:00
parent b97784fd07
commit 1c573c7f18

View file

@ -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" => {},