Rename get_each_mut to get_many_mut and align API with the stdlib#291
Rename get_each_mut to get_many_mut and align API with the stdlib#291Amanieu merged 1 commit intorust-lang:masterfrom
Conversation
71521c4 to
9f62fff
Compare
Amanieu
left a comment
There was a problem hiding this comment.
Could you add get_many_unchecked_mut as well?
Also bump the Rust version in CI to 1.51 so the tests pass.
24d4b19 to
9f2dab8
Compare
Done
Done I also changed the implementation of the raw |
9f2dab8 to
51a2bc9
Compare
| /// At most one mutable reference will be returned to any entry. `None` will be returned if any | ||
| /// of the hashes are duplicates. `None` will be returned if the hash is not found. |
There was a problem hiding this comment.
| /// At most one mutable reference will be returned to any entry. `None` will be returned if any | |
| /// of the hashes are duplicates. `None` will be returned if the hash is not found. | |
| /// At most one mutable reference will be returned to any entry. `None` will be returned if any | |
| /// of the entries are duplicates. `None` will be returned if an entry is not found. |
|
LGTM, I was waiting for a reply on rust-lang/rust#83608 about returning a |
|
☔ The latest upstream changes (presumably #298) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Sorry, this slipped off my review queue. Could you rebase so I can merge this? The only conflict should be the CI version change. |
51a2bc9 to
1a34feb
Compare
|
Rebased and now using |
The standard library will be gaining a similar [ability for slices][]. This updates Hashbrown's API to match that PR and use only stable `MaybeUninit` functions. [ability for slices]: rust-lang/rust#83608
1a34feb to
c9c361a
Compare
The standard library will be gaining a similar ability for slices. This updates Hashbrown's API to match that PR and use only stable
MaybeUninitfunctions.This change requires a MSRV bump to Rust 1.51.