From 99bfee720119240d8eb64c2fd395aeaecc683b9a Mon Sep 17 00:00:00 2001 From: Serial <69764315+Serial-ATA@users.noreply.github.com> Date: Mon, 11 Oct 2021 20:40:13 -0400 Subject: [PATCH] Don't run examples --- clippy_lints/src/match_str_case_mismatch.rs | 4 ++-- 1 file 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 dd8b5cb4a21a..ae6d2b6c79da 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" => {},