Follow

I've always known that the community has , but this is next level:

"Calling `next` this way gets repetitive. Rust has a construct which can call `next` on your iterator, until it reaches None. Let’s go over that next." - from std docs on "Implementing iterator":
doc.rust-lang.org/std/iter/ind

😅

· · Web · 0 · 1 · 2
Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!