]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/matches.rs
Rollup merge of #83054 - tmiasko:rustc_layout_scalar_valid_range, r=davidtwco
[rust.git] / src / tools / clippy / clippy_lints / src / matches.rs
index 9c87759d51d2db63dab4723091d93aacdf89c694..1d5a6e7fcc53c19c47d517325c5ea99013240fd4 100644 (file)
@@ -1173,9 +1173,9 @@ fn check_wild_in_or_pats(cx: &LateContext<'_>, arms: &[Arm<'_>]) {
                     cx,
                     WILDCARD_IN_OR_PATTERNS,
                     arm.pat.span,
-                    "wildcard pattern covers any other pattern as it will match anyway.",
+                    "wildcard pattern covers any other pattern as it will match anyway",
                     None,
-                    "Consider handling `_` separately.",
+                    "consider handling `_` separately",
                 );
             }
         }