Skip to content

Commit be8b5eb

Browse files
pickfireJoshua Nelson
and
Joshua Nelson
authored
Reuse description from drain_filter
Co-authored-by: Joshua Nelson <[email protected]>
1 parent d727442 commit be8b5eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/vec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3026,7 +3026,7 @@ impl<T> Drain<'_, T> {
30263026
}
30273027
}
30283028

3029-
/// A draining iterator with filter predicate for `Vec`.
3029+
/// An iterator which uses a closure to determine if an element should be removed.
30303030
///
30313031
/// This struct is created by [`Vec::drain_filter`].
30323032
/// See its documentation for more.

0 commit comments

Comments
 (0)