We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 300d7f6 + be8b5eb commit af1f46cCopy full SHA for af1f46c
library/alloc/src/vec.rs
@@ -3024,7 +3024,10 @@ impl<T> Drain<'_, T> {
3024
}
3025
3026
3027
-/// An iterator produced by calling `drain_filter` on Vec.
+/// An iterator which uses a closure to determine if an element should be removed.
3028
+///
3029
+/// This struct is created by [`Vec::drain_filter`].
3030
+/// See its documentation for more.
3031
#[unstable(feature = "drain_filter", reason = "recently added", issue = "43244")]
3032
#[derive(Debug)]
3033
pub struct DrainFilter<'a, T, F>
0 commit comments