this post was submitted on 28 Apr 2026
12 points (83.3% liked)

Rust

8296 readers
10 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
12
submitted 5 months ago* (last edited 5 months ago) by ISO@lemmy.zip to c/rust@programming.dev
 

I checked some of the issues out, and this looks legit. Although a good chuck relates to obscure platform abstractions.

you are viewing a single comment's thread
view the rest of the comments
[–] ISO@lemmy.zip 4 points 5 months ago

The new Iter struct basically mirrors slice's Iter, but with poiners/pointer arithmetic used for everything (the new next() impl). PhantomData is used in both to track the lifetime of the data pointer.