Skip to content

Commit 99bfee7

Browse files
committed
Don't run examples
1 parent 9e0ce14 commit 99bfee7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/match_str_case_mismatch.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ declare_clippy_lint! {
1818
/// The arm is unreachable, which is likely a mistake
1919
///
2020
/// ### Example
21-
/// ```rust
21+
/// ```rust,no_run
2222
/// match &*text.to_ascii_lowercase() {
2323
/// "foo" => {},
2424
/// "Bar" => {},
2525
/// _ => {},
2626
/// }
2727
/// ```
2828
/// Use instead:
29-
/// ```rust
29+
/// ```rust,no_run
3030
/// match &*text.to_ascii_lowercase() {
3131
/// "foo" => {},
3232
/// "bar" => {},

0 commit comments

Comments
 (0)