Skip to content

Typo in the Iterators chapter #1115

Closed
rust-lang/rust
#59366
@neandrake

Description

@neandrake

The Iterators chapter states

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

However I believe the correct method is .into_iter()

Sorry I would submit a pull request but I am not familiar with Git or Github

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions