mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
Keep doc standard for Vec DrainFilter
This commit is contained in:
@@ -3026,7 +3026,10 @@ unsafe fn move_tail(&mut self, additional: usize) {
|
||||
}
|
||||
}
|
||||
|
||||
/// 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>
|
||||
|
||||
Reference in New Issue
Block a user