Skip to content

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

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

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.
Kobzol pushed a commit to Kobzol/rust that referenced this pull request Dec 30, 2024
bors pushed a commit to rust-lang-ci/rust that referenced this pull request Jan 2, 2025
# 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