Skip to content

Commit 78c4b11

Browse files
committed
add a description
1 parent bbe23dd commit 78c4b11

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3254,7 +3254,7 @@ declare_clippy_lint! {
32543254
#[clippy::version = "1.71.0"]
32553255
pub DRAIN_COLLECT,
32563256
perf,
3257-
"description"
3257+
"calling `.drain(..).collect()` to move all elements into a new collection"
32583258
}
32593259

32603260
pub struct Methods {

0 commit comments

Comments
 (0)