Skip to content
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

Reference: Update 7.2.20 (for loops) and fix formatting #24775

Merged
merged 2 commits into from
Apr 25, 2015

Conversation

mbrubeck
Copy link
Contributor

Update 7.2.20 (for expressions):

  • for loops now use IntoIterator instead of just Iterator
  • Simplify the example by removing unnecessary Vec::iter call.

...and a fix for a minor formatting error.

r? @steveklabnik

* `for` loops now use `IntoIterator` instead of just `Iterator`
* Simplify the example by removing unnecessary `Vec::iter` call.
@steveklabnik
Copy link
Member

@bors: r+ rollup

@bors
Copy link
Contributor

bors commented Apr 24, 2015

📌 Commit 331821e has been approved by steveklabnik

@steveklabnik
Copy link
Member

Thanks!

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 24, 2015
Update 7.2.20 (`for` expressions):

* `for` loops now use `IntoIterator` instead of just `Iterator`
* Simplify the example by removing unnecessary `Vec::iter` call.

...and a fix for a minor formatting error.

r? @steveklabnik
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 24, 2015
Update 7.2.20 (`for` expressions):

* `for` loops now use `IntoIterator` instead of just `Iterator`
* Simplify the example by removing unnecessary `Vec::iter` call.

...and a fix for a minor formatting error.

r? @steveklabnik
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 25, 2015
Update 7.2.20 (`for` expressions):

* `for` loops now use `IntoIterator` instead of just `Iterator`
* Simplify the example by removing unnecessary `Vec::iter` call.

...and a fix for a minor formatting error.

r? @steveklabnik
bors added a commit that referenced this pull request Apr 25, 2015
@bors bors merged commit 331821e into rust-lang:master Apr 25, 2015
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.

3 participants