Add descriptions for 'impossible_double_const_comparisons' and 'ineffective_double_const_comparisons'

This commit is contained in:
Morten Lohne 2023-05-29 23:49:54 +02:00
parent 046d3df35e
commit e16a2ac0c6

View file

@ -314,7 +314,7 @@ declare_clippy_lint! {
#[clippy::version = "1.71.0"]
pub IMPOSSIBLE_DOUBLE_CONST_COMPARISONS,
correctness,
"default lint description"
"double comparisons that will never evaluate to `true`"
}
declare_clippy_lint! {
@ -333,7 +333,7 @@ declare_clippy_lint! {
#[clippy::version = "1.71.0"]
pub INEFFECTIVE_DOUBLE_CONST_COMPARISONS,
correctness,
"default lint description"
"double comparisons where one of them can be removed"
}
declare_clippy_lint! {