Reuse description from drain_filter

Co-authored-by: Joshua Nelson <joshua@yottadb.com>
This commit is contained in:
Ivan Tham 2020-08-29 22:39:34 +08:00 committed by GitHub
parent d727442f2d
commit be8b5eb529
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.