Skip to content
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

IntoIterator not implemented for &Option and &Result #27996

Closed
birkenfeld opened this issue Aug 25, 2015 · 1 comment
Closed

IntoIterator not implemented for &Option and &Result #27996

birkenfeld opened this issue Aug 25, 2015 · 1 comment

Comments

@birkenfeld
Copy link
Contributor

To be consistent with Vec and other collections, shouldn't these types also get the IntoIterator impls for &T and &mut T?

@alexcrichton
Copy link
Member

Yeah this should be fine to implement, it's just an oversight.

birkenfeld added a commit to birkenfeld/rust that referenced this issue Aug 27, 2015
Manishearth added a commit to Manishearth/rust that referenced this issue Aug 27, 2015
…er, r=alexcrichton

Fixes rust-lang#27996.

Does this need any `#[stable]`/`#[unstable]` attributes?
Manishearth added a commit to Manishearth/rust that referenced this issue Aug 27, 2015
…er, r=alexcrichton

Fixes rust-lang#27996.

Does this need any `#[stable]`/`#[unstable]` attributes?
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

No branches or pull requests

2 participants