diff options
| author | Serial <69764315+Serial-ATA@users.noreply.github.com> | 2021-10-11 20:40:13 -0400 |
|---|---|---|
| committer | Serial <69764315+Serial-ATA@users.noreply.github.com> | 2021-10-11 20:40:13 -0400 |
| commit | 99bfee720119240d8eb64c2fd395aeaecc683b9a (patch) | |
| tree | 990d6085c1d7457956bbc0a41fef62532f12f739 | |
| parent | 9e0ce14700070a5cf61ebdb542cefd70a1dd9b0c (diff) | |
| download | rust-99bfee720119240d8eb64c2fd395aeaecc683b9a.tar.gz rust-99bfee720119240d8eb64c2fd395aeaecc683b9a.zip | |
Don't run examples
| -rw-r--r-- | clippy_lints/src/match_str_case_mismatch.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/match_str_case_mismatch.rs b/clippy_lints/src/match_str_case_mismatch.rs index dd8b5cb4a21..ae6d2b6c79d 100644 --- a/clippy_lints/src/match_str_case_mismatch.rs +++ b/clippy_lints/src/match_str_case_mismatch.rs @@ -18,7 +18,7 @@ declare_clippy_lint! { /// The arm is unreachable, which is likely a mistake /// /// ### Example - /// ```rust + /// ```rust,no_run /// match &*text.to_ascii_lowercase() { /// "foo" => {}, /// "Bar" => {}, @@ -26,7 +26,7 @@ declare_clippy_lint! { /// } /// ``` /// Use instead: - /// ```rust + /// ```rust,no_run /// match &*text.to_ascii_lowercase() { /// "foo" => {}, /// "bar" => {}, |
