Keep doc standard for Vec DrainFilter

This commit is contained in:
Ivan Tham 2020-08-29 18:21:47 +08:00 committed by GitHub
parent 1dc748fb3d
commit d504d553f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3026,7 +3026,10 @@ impl<T> Drain<'_, T> {
}
}
/// An iterator produced by calling `drain_filter` on Vec.
/// A draining iterator with filter predicate for `Vec`.
///
/// This struct is created by [`Vec::drain_filter()`].
/// See its documentation for more.
#[unstable(feature = "drain_filter", reason = "recently added", issue = "43244")]
#[derive(Debug)]
pub struct DrainFilter<'a, T, F>