Add description to lint
This commit is contained in:
parent
4417af801d
commit
deecfb5d13
@ -102,7 +102,7 @@ declare_clippy_lint! {
|
||||
/// ```
|
||||
pub COMPARISON_TO_EMPTY,
|
||||
style,
|
||||
"default lint description"
|
||||
"checking `x == \"\"` or `x == []` (or similar) when `.is_empty()` could be used instead"
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user