Closed
Description
The std::iterator::Iterator
trait will need a lang item and Iterator
implementations on functions will likely have to be forbidden to avoid ambiguity with internal iterators.
The body of the loop won't have to be a closure and return
/break
will never fail to work as expected.
See: https://mail.mozilla.org/pipermail/rust-dev/2013-June/004364.html