about summary refs log tree commit diff
diff options
context:
space:
mode:
authory21 <30553356+y21@users.noreply.github.com>2023-06-08 19:54:33 +0200
committery21 <30553356+y21@users.noreply.github.com>2023-06-15 20:23:12 +0200
commit20ae597ec4dc593bb07bcd436b3ca42fcb64df42 (patch)
tree7c20e9bdc8c5ff3c7a20c3bf8d68929b9cd5d96a
parent3f3657a3e4ae745339e42e377bef57f2f56ed5ff (diff)
downloadrust-20ae597ec4dc593bb07bcd436b3ca42fcb64df42.tar.gz
rust-20ae597ec4dc593bb07bcd436b3ca42fcb64df42.zip
add a description
-rw-r--r--clippy_lints/src/methods/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs
index faddb036eaa..bed70207f28 100644
--- a/clippy_lints/src/methods/mod.rs
+++ b/clippy_lints/src/methods/mod.rs
@@ -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 {