Thinking about it a bit, it seems possible that a thorough investigation would show preferring external iterators as the biggest mistake Rust made
Oh wow, those all sound like things that'd be neat to have. Does that mean we can't have those in Rust, or mostly that it'll be more difficult (e.g. special casing)?
-
-
It’s an open question. All external iterators can be made into internal iterators (which is why Iterator::for_each exists), so in theory we could probably add internal iterators in a backward compat way
-
It’s relevant to consider this when working on for await loops, generators, attached streams, etc
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.