Rollup merge of #76055 - pickfire:patch-9, r=jyn514
Keep doc standard for Vec DrainFilter r? @jyn514
This commit is contained in:
commit
af1f46cf99
1 changed files with 4 additions and 1 deletions
|
@ -3024,7 +3024,10 @@ impl<T> Drain<'_, T> {
|
|||
}
|
||||
}
|
||||
|
||||
/// An iterator produced by calling `drain_filter` on 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.
|
||||
#[unstable(feature = "drain_filter", reason = "recently added", issue = "43244")]
|
||||
#[derive(Debug)]
|
||||
pub struct DrainFilter<'a, T, F>
|
||||
|
|
Loading…
Add table
Reference in a new issue