itertools
itertools copied to clipboard
The cutting block: These features will be removed from itertools eventually
- [x]
.foreach()-- whenIterator::for_eachstabilizes and it's old enough so that the deprecation is not annoying. Introduced in Rust 1.21. Deprecated in 0.8 - [x]
.step()#133 -- whenIterator::step_bystabilizes rust-lang/rust/issues/27741 Rust 1.28 Deprecated in 0.8 - [x]
.fold_while()whenIterator::try_foldis stable Rust 1.27 Deprecated in 0.8 - [x]
repeat_callwhenrepeat_withis stable rust-lang/rust/pull/48156 Rust 1.28 Deprecated in 0.8 - [x]
.flatten()whenIterator::flattenis stable #262 Rust 1.29 Removed in 0.8 - [ ]
unfold()whenstd::iter::unfoldis stable rust-lang/rust/issues/55977
Everything in the list has been stabilized save for .flatten() which is getting stabilized atm.
Looks like .flatten() hit stable with 1.29.
Seems like unfold was merged in as from_fn, issue may now be close-able?