about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--clippy_lints/src/operators/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/clippy_lints/src/operators/mod.rs b/clippy_lints/src/operators/mod.rs
index fa8e4c00a97..4635e1164cd 100644
--- a/clippy_lints/src/operators/mod.rs
+++ b/clippy_lints/src/operators/mod.rs
@@ -320,12 +320,12 @@ declare_clippy_lint! {
 
 declare_clippy_lint! {
     /// ### What it does
-    /// Checks for ineffective double comparisons against constants
+    /// Checks for ineffective double comparisons against constants.
     ///
     /// ### Why is this bad?
-    /// Only one of the comparisons has any effect on the result
-    /// The programmer probably intended to flip one of the comparison operators,
-    /// or compare a different value entirely
+    /// Only one of the comparisons has any effect on the result, the programmer
+    /// probably intended to flip one of the comparison operators, or compare a
+    /// different value entirely.
     ///
     /// ### Example
     /// ```rust