Skip to content

FOR_KV_MAP can now lint on mutable maps due to values_mut() #1430

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

Merged
merged 2 commits into from
Jan 10, 2017
Merged

FOR_KV_MAP can now lint on mutable maps due to values_mut() #1430

merged 2 commits into from
Jan 10, 2017

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Jan 10, 2017

fixes #709

@oli-obk oli-obk requested a review from mcarton January 10, 2017 07:34
@llogiq
Copy link
Contributor

llogiq commented Jan 10, 2017

LGTM.

@llogiq llogiq merged commit d6ab240 into rust-lang:master Jan 10, 2017
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.

Suggest '.values_mut()' if HashMap mutably borrowed
3 participants