Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
theemathas opened this issue Mar 5, 2015 · 2 comments · Fixed by #1030
Closed

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

theemathas opened this issue Mar 5, 2015 · 2 comments · Fixed by #1030

Comments

@theemathas
Copy link

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.

@aturon
Copy link
Member

aturon commented Apr 3, 2015

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

@aturon
Copy link
Member

aturon commented Apr 3, 2015

See #1030

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 a pull request may close this issue.

2 participants