about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSerial <69764315+Serial-ATA@users.noreply.github.com>2021-10-11 20:40:13 -0400
committerSerial <69764315+Serial-ATA@users.noreply.github.com>2021-10-11 20:40:13 -0400
commit99bfee720119240d8eb64c2fd395aeaecc683b9a (patch)
tree990d6085c1d7457956bbc0a41fef62532f12f739
parent9e0ce14700070a5cf61ebdb542cefd70a1dd9b0c (diff)
downloadrust-99bfee720119240d8eb64c2fd395aeaecc683b9a.tar.gz
rust-99bfee720119240d8eb64c2fd395aeaecc683b9a.zip
Don't run examples
-rw-r--r--clippy_lints/src/match_str_case_mismatch.rs4
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" => {},