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
@ -21,7 +21,6 @@
|
||||
/// ### Example
|
||||
/// ```rust
|
||||
/// # let text = "Foo";
|
||||
///
|
||||
/// match &*text.to_ascii_lowercase() {
|
||||
/// "foo" => {},
|
||||
/// "Bar" => {},
|
||||
@ -31,7 +30,6 @@
|
||||
/// Use instead:
|
||||
/// ```rust
|
||||
/// # let text = "Foo";
|
||||
///
|
||||
/// match &*text.to_ascii_lowercase() {
|
||||
/// "foo" => {},
|
||||
/// "bar" => {},
|
||||
|
Loading…
Reference in New Issue
Block a user