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

Handle more iterator adapter cases in for loops #552

Merged
merged 2 commits into from
Jan 14, 2016

Conversation

mcarton
Copy link
Member

@mcarton mcarton commented Jan 14, 2016

Fix #281.
Also partial fix for #398. I'm not sure it's worth fixing the second example, in such corner case maybe allowing the lint would be acceptable.

Manishearth added a commit that referenced this pull request Jan 14, 2016
Handle more iterator adapter cases in for loops
@Manishearth Manishearth merged commit 604be94 into rust-lang:master Jan 14, 2016
@mcarton mcarton deleted the for_loop branch January 14, 2016 23:52
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 this pull request may close these issues.

Handle more iterator adapter cases
2 participants