Skip to content

Commit e16a2ac

Browse files
committed
Add descriptions for 'impossible_double_const_comparisons' and 'ineffective_double_const_comparisons'
1 parent 046d3df commit e16a2ac

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

clippy_lints/src/operators/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ declare_clippy_lint! {
314314
#[clippy::version = "1.71.0"]
315315
pub IMPOSSIBLE_DOUBLE_CONST_COMPARISONS,
316316
correctness,
317-
"default lint description"
317+
"double comparisons that will never evaluate to `true`"
318318
}
319319

320320
declare_clippy_lint! {
@@ -333,7 +333,7 @@ declare_clippy_lint! {
333333
#[clippy::version = "1.71.0"]
334334
pub INEFFECTIVE_DOUBLE_CONST_COMPARISONS,
335335
correctness,
336-
"default lint description"
336+
"double comparisons where one of them can be removed"
337337
}
338338

339339
declare_clippy_lint! {

0 commit comments

Comments
 (0)