From d62804624441c2f7bf3de45cd2c9b5c411b2d6a6 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Sun, 6 Aug 2023 17:19:43 +0000 Subject: [PATCH] Update clippy_lints/src/operators/mod.rs Co-authored-by: Catherine Flores --- clippy_lints/src/operators/mod.rs | 8 ++++---- 1 file 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! { /// ### 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 -- GitLab