Skip to content

Commit 1c573c7

Browse files
committed
Remove newlines in [match_str_case_mismatch] example
1 parent b97784f commit 1c573c7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clippy_lints/src/match_str_case_mismatch.rs

-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ declare_clippy_lint! {
2121
/// ### Example
2222
/// ```rust
2323
/// # let text = "Foo";
24-
///
2524
/// match &*text.to_ascii_lowercase() {
2625
/// "foo" => {},
2726
/// "Bar" => {},
@@ -31,7 +30,6 @@ declare_clippy_lint! {
3130
/// Use instead:
3231
/// ```rust
3332
/// # let text = "Foo";
34-
///
3533
/// match &*text.to_ascii_lowercase() {
3634
/// "foo" => {},
3735
/// "bar" => {},

0 commit comments

Comments
 (0)