File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 56
56
//! For details, see the
57
57
//! [Rust Reference](https://doc.rust-lang.org/reference/const_eval.html#const-functions).
58
58
//!
59
+ //! ### `drain_filter`
60
+ //!
61
+ //! **This feature is unstable.** It may change to match the unstable `drain_filter` method in libstd.
62
+ //!
63
+ //! Enables the `drain_filter` method, which produces an iterator that calls a user-provided
64
+ //! closure to determine which elements of the vector to remove and yield from the iterator.
65
+ //!
66
+ //! ### `drain_keep_rest`
67
+ //!
68
+ //! **This feature is unstable.** It may change to match the unstable `drain_keep_rest` method in libstd.
69
+ //!
70
+ //! Enables the `DrainFilter::keep_rest` method.
71
+ //!
59
72
//! ### `specialization`
60
73
//!
61
74
//! **This feature is unstable and requires a nightly build of the Rust toolchain.**
You can’t perform that action at this time.
0 commit comments