Skip to content

make for parse as foreach does #8244

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 3, 2013
Merged

make for parse as foreach does #8244

merged 3 commits into from
Aug 3, 2013

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