Skip to content

Commit

Permalink
Reuse description from drain_filter
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
  • Loading branch information
pickfire and Joshua Nelson authored Aug 29, 2020
1 parent d727442 commit be8b5eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3026,7 +3026,7 @@ impl<T> 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.
Expand Down

0 comments on commit be8b5eb

Please sign in to comment.