Remove newlines in [match_str_case_mismatch] example
This commit is contained in:
parent
b97784fd07
commit
1c573c7f18
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…
Add table
Add a link
Reference in a new issue