Skip to content

Commit deecfb5

Browse files
committed
Add description to lint
1 parent 4417af8 commit deecfb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/len_zero.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ declare_clippy_lint! {
102102
/// ```
103103
pub COMPARISON_TO_EMPTY,
104104
style,
105-
"default lint description"
105+
"checking `x == \"\"` or `x == []` (or similar) when `.is_empty()` could be used instead"
106106
}
107107

108108

0 commit comments

Comments
 (0)