Skip to content

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

Closed

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.

Activity

  1. aturon commented on Apr 3, 2015

    @aturon
    Contributor

    cc me, this was an oversight that can likely be rectified before 1.0

  2. aturon commented on Apr 3, 2015

    @aturon
    Contributor

    See #1030

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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