Skip to content

Conversation

thestinger
Copy link
Contributor

r=huonw

There's some ugliness due to lacking external versions of the iterators in librustc and needing to manually implement returning from do with state in a variable. This should go away as they are implemented, with or without help from the compiler.

it is documented in the container/iterator tutorial, not the basic
tutorial
thestinger added a commit that referenced this pull request Aug 3, 2013
make `for` parse as `foreach` does

r=huonw, bors is acting up and this has been run through the try bots
@thestinger thestinger merged commit deddb00 into rust-lang:master Aug 3, 2013
@thestinger thestinger deleted the for branch August 3, 2013 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant