Skip to content

Commit

Permalink
Fixes rust-lang#1113 by correcting the typo from into_iterator to int…
Browse files Browse the repository at this point in the history
…o_iter
  • Loading branch information
MCluck90 committed Nov 20, 2018
1 parent 2ce92be commit dbb615c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trait/iter.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ which may be manually defined in an `impl` block or automatically
defined (as in arrays and ranges).

As a point of convenience for common situations, the `for` construct
turns some collections into iterators using the [`.into_iterator()`][intoiter] method.
turns some collections into iterators using the [`.into_iter()`][intoiter] method.

```rust,editable
struct Fibonacci {
Expand Down

0 comments on commit dbb615c

Please sign in to comment.