Skip to content

Commit d628046

Browse files
ManishearthCentri3
andauthored
Update clippy_lints/src/operators/mod.rs
Co-authored-by: Catherine Flores <[email protected]>
1 parent 3157b96 commit d628046

File tree

1 file changed

+4
-4
lines changed
  • clippy_lints/src/operators

1 file changed

+4
-4
lines changed

clippy_lints/src/operators/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -320,12 +320,12 @@ declare_clippy_lint! {
320320

321321
declare_clippy_lint! {
322322
/// ### What it does
323-
/// Checks for ineffective double comparisons against constants
323+
/// Checks for ineffective double comparisons against constants.
324324
///
325325
/// ### Why is this bad?
326-
/// Only one of the comparisons has any effect on the result
327-
/// The programmer probably intended to flip one of the comparison operators,
328-
/// or compare a different value entirely
326+
/// Only one of the comparisons has any effect on the result, the programmer
327+
/// probably intended to flip one of the comparison operators, or compare a
328+
/// different value entirely.
329329
///
330330
/// ### Example
331331
/// ```rust

0 commit comments

Comments
 (0)