Skip to content
New issue

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

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

Already on GitHub? # to your account

FuzzyEq improvements #4664

Merged
merged 4 commits into from
Jan 29, 2013
Merged

FuzzyEq improvements #4664

merged 4 commits into from
Jan 29, 2013

Conversation

thestinger
Copy link
Contributor

Closes #3966

@ghost ghost assigned catamorphism Jan 29, 2013
catamorphism added a commit that referenced this pull request Jan 29, 2013
@catamorphism catamorphism merged commit 5e77d55 into rust-lang:incoming Jan 29, 2013
@catamorphism
Copy link
Contributor

Thanks!

flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 22, 2021
Improve `map_entry` suggestion

fixes: rust-lang#5176
fixes: rust-lang#4674
fixes: rust-lang#4664
fixes: rust-lang#1450

Still need to handle the value returned by `insert` correctly.

changelog: Improve `map_entry` suggestion. Will now suggest `or_insert`, `insert_with` or `match _.entry(_)` as appopriate.
changelog: Fix `map_entry` false positives where the entry api can't be used. e.g. when the map is used for multiple things.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants