add a description

This commit is contained in:
y21 2023-06-08 19:54:33 +02:00
parent 3f3657a3e4
commit 20ae597ec4

View file

@ -3281,7 +3281,7 @@ declare_clippy_lint! {
#[clippy::version = "1.71.0"]
pub DRAIN_COLLECT,
perf,
"description"
"calling `.drain(..).collect()` to move all elements into a new collection"
}
pub struct Methods {