Skip to content

Commit

Permalink
Remove newlines in [match_str_case_mismatch] example
Browse files Browse the repository at this point in the history
  • Loading branch information
Serial-ATA committed May 25, 2022
1 parent b97784f commit 1c573c7
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 1c573c7

Please sign in to comment.