Skip to content

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
Contributor

@bors: r+ rollup

@bors
Copy link
Collaborator

bors commented Apr 24, 2015

📌 Commit 331821e has been approved by steveklabnik

@steveklabnik
Copy link
Contributor

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