diff options
| author | Philipp Krones <hello@philkrones.com> | 2023-11-02 17:35:56 +0100 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2023-11-02 17:35:56 +0100 |
| commit | 77c1e3aaa10aa78e7841b03a674acdc22bb6f758 (patch) | |
| tree | 840e473e53f199f0e49a49c20d2e7c7dcf801828 /clippy_lints/src/manual_range_patterns.rs | |
| parent | aae86ccc473aee83059a0bf21db9847bc65a5c37 (diff) | |
Merge commit '09ac14c901abc43bd0d617ae4a44e8a4fed98d9c' into clippyup
Diffstat (limited to 'clippy_lints/src/manual_range_patterns.rs')
| -rw-r--r-- | clippy_lints/src/manual_range_patterns.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/manual_range_patterns.rs b/clippy_lints/src/manual_range_patterns.rs index 90557b55560..d24bfe18224 100644 --- a/clippy_lints/src/manual_range_patterns.rs +++ b/clippy_lints/src/manual_range_patterns.rs @@ -22,12 +22,12 @@ declare_clippy_lint! { /// in order to support negative numbers. /// /// ### Example - /// ```rust + /// ```no_run /// let x = 6; /// let foo = matches!(x, 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10); /// ``` /// Use instead: - /// ```rust + /// ```no_run /// let x = 6; /// let foo = matches!(x, 1..=10); /// ``` |
