Skip to content

Commit

Permalink
Auto merge of rust-lang#8889 - Serial-ATA:remove-newlines, r=xFrednet
Browse files Browse the repository at this point in the history
Remove newlines in [`match_str_case_mismatch`] example

changelog: none
  • Loading branch information
bors committed May 25, 2022
2 parents 3cc50a4 + 1c573c7 commit 45785fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions clippy_lints/src/match_str_case_mismatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ declare_clippy_lint! {
/// ### Example
/// ```rust
/// # let text = "Foo";
///
/// match &*text.to_ascii_lowercase() {
/// "foo" => {},
/// "Bar" => {},
Expand All @@ -31,7 +30,6 @@ declare_clippy_lint! {
/// Use instead:
/// ```rust
/// # let text = "Foo";
///
/// match &*text.to_ascii_lowercase() {
/// "foo" => {},
/// "bar" => {},
Expand Down

0 comments on commit 45785fe

Please sign in to comment.