Open djmitche opened 1 year ago
I think this is a good example of an iterator that is not over a collection. Such an iterator typically will mutate itself in next
(most iterators do). But, we have covered collections already, so perhaps we should make some "interesting" iterator over a Vec or something like that?
The overflow conversation is an interesting one, and sounds like a good # More to Explore
section.
Discussed in https://github.com/google/comprehensive-rust/discussions/1269