46
Announcing Rust 1.96.0 | Rust Blog
(blog.rust-lang.org)
I'm happy the new ranges got stabilized. It feels weird to use old stuff when you know there is something in the pipeline to replace it.
I'm worried about this creating a bunch of confusion in the future, but hopefully at some point they mark the old ranges as deprecated.
Ranges directly being iterators confused me so much at first because no other standard iterable types really work that way, then combined with them being !Copy they just felt wrong. The new ranges look so much easier to use and understand.
Nice stuff all in all!
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits