mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 09:27:25 +00:00
Auto merge of #8889 - Serial-ATA:remove-newlines, r=xFrednet
Remove newlines in [`match_str_case_mismatch`] example changelog: none
This commit is contained in:
commit
45785fe1ee
1 changed files with 0 additions and 2 deletions
|
@ -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" => {},
|
||||
|
|
Loading…
Reference in a new issue