itertools icon indicating copy to clipboard operation
itertools copied to clipboard

The cutting block: These features will be removed from itertools eventually

Open bluss opened this issue 8 years ago • 3 comments

  • [x] .foreach() -- when Iterator::for_each stabilizes and it's old enough so that the deprecation is not annoying. Introduced in Rust 1.21. Deprecated in 0.8
  • [x] .step() #133 -- when Iterator::step_by stabilizes rust-lang/rust/issues/27741 Rust 1.28 Deprecated in 0.8
  • [x] .fold_while() when Iterator::try_fold is stable Rust 1.27 Deprecated in 0.8
  • [x] repeat_call when repeat_with is stable rust-lang/rust/pull/48156 Rust 1.28 Deprecated in 0.8
  • [x] .flatten() when Iterator::flatten is stable #262 Rust 1.29 Removed in 0.8
  • [ ] unfold() when std::iter::unfold is stable rust-lang/rust/issues/55977

bluss avatar Sep 25 '17 20:09 bluss

Everything in the list has been stabilized save for .flatten() which is getting stabilized atm.

Centril avatar Jun 17 '18 13:06 Centril

Looks like .flatten() hit stable with 1.29.

flxo avatar Sep 28 '18 10:09 flxo

Seems like unfold was merged in as from_fn, issue may now be close-able?

DevinR528 avatar Jun 27 '21 11:06 DevinR528