this post was submitted on 28 May 2026
47 points (100.0% liked)

Rust

8041 readers
59 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 3 years ago
MODERATORS
top 3 comments
sorted by: hot top controversial new old
[–] anton@lemmy.blahaj.zone 6 points 2 days ago (1 children)

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.

[–] TehPers@beehaw.org 4 points 2 days ago

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.

[–] SorteKanin@feddit.dk 4 points 3 days ago

Nice stuff all in all!