Skip to content

Commit 20ae597

Browse files
committed
add a description
1 parent 3f3657a commit 20ae597

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
@@ -3281,7 +3281,7 @@ declare_clippy_lint! {
32813281
#[clippy::version = "1.71.0"]
32823282
pub DRAIN_COLLECT,
32833283
perf,
3284-
"description"
3284+
"calling `.drain(..).collect()` to move all elements into a new collection"
32853285
}
32863286

32873287
pub struct Methods {

0 commit comments

Comments
 (0)