mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +00:00
Add descriptions for 'impossible_double_const_comparisons' and 'ineffective_double_const_comparisons'
This commit is contained in:
parent
046d3df35e
commit
e16a2ac0c6
1 changed files with 2 additions and 2 deletions
|
@ -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! {
|
||||
|
|
Loading…
Reference in a new issue