diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2023-08-06 17:19:43 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-06 17:19:43 +0000 |
| commit | d62804624441c2f7bf3de45cd2c9b5c411b2d6a6 (patch) | |
| tree | 0f3df58038b850b8766c47c9b3c2da2997ebac05 | |
| parent | 3157b96a5bc352336889399c68d0248eb67073c0 (diff) | |
| download | rust-d62804624441c2f7bf3de45cd2c9b5c411b2d6a6.tar.gz rust-d62804624441c2f7bf3de45cd2c9b5c411b2d6a6.zip | |
Update clippy_lints/src/operators/mod.rs
Co-authored-by: Catherine Flores <catherine.3.flores@gmail.com>
| -rw-r--r-- | clippy_lints/src/operators/mod.rs | 8 |
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 |
