diff --git a/library/alloc/src/vec.rs b/library/alloc/src/vec.rs index 7be5f97340e6..12441ccd41f2 100644 --- a/library/alloc/src/vec.rs +++ b/library/alloc/src/vec.rs @@ -3026,7 +3026,7 @@ impl Drain<'_, T> { } } -/// A draining iterator with filter predicate for `Vec`. +/// An iterator which uses a closure to determine if an element should be removed. /// /// This struct is created by [`Vec::drain_filter`]. /// See its documentation for more.