Skip to content

Eliminate redundant into_iter() functions in favor of IntoIterator #942

@theemathas

Description

@theemathas

Currently, many collections (including Vec) both implement the IntoIterator trait (which has .into_iter() as a required method) and implement .into_iter() as an inherent method. I think that we should remove the inherent method and put the IntoIterator trait in the prelude.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions