]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/comparison_chain.rs
Auto merge of #82680 - jturner314:div_euclid-docs, r=JohnTitor
[rust.git] / src / tools / clippy / clippy_lints / src / comparison_chain.rs
index 90d31dece13113ae9d2c64711211df9b1c67553a..e309db25995fbfa0f8bf5cbe716765047442e269 100644 (file)
@@ -117,7 +117,7 @@ fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) {
             expr.span,
             "`if` chain can be rewritten with `match`",
             None,
-            "Consider rewriting the `if` chain to use `cmp` and `match`.",
+            "consider rewriting the `if` chain to use `cmp` and `match`",
         )
     }
 }