mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
add a description
This commit is contained in:
parent
3f3657a3e4
commit
20ae597ec4
1 changed files with 1 additions and 1 deletions
|
@ -3281,7 +3281,7 @@ declare_clippy_lint! {
|
||||||
#[clippy::version = "1.71.0"]
|
#[clippy::version = "1.71.0"]
|
||||||
pub DRAIN_COLLECT,
|
pub DRAIN_COLLECT,
|
||||||
perf,
|
perf,
|
||||||
"description"
|
"calling `.drain(..).collect()` to move all elements into a new collection"
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct Methods {
|
pub struct Methods {
|
||||||
|
|
Loading…
Reference in a new issue