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

adding some misc functions and some functions just for [u8] #1450

Merged
merged 5 commits into from
Jan 6, 2012

Conversation

erickt
Copy link
Contributor

@erickt erickt commented Jan 6, 2012

No description provided.

graydon added a commit that referenced this pull request Jan 6, 2012
adding some misc functions and some functions just for [u8]
@graydon graydon merged commit 4f3171e into rust-lang:master Jan 6, 2012
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.
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.

2 participants