diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-06-01 23:36:45 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-01 23:36:45 +0900 |
| commit | 9ddae155322de3ed2f348629925a18538e96020c (patch) | |
| tree | e3f833ca53a924756d15b0202132965ff8721c90 /compiler/rustc_mir_transform/src/coverage/debug.rs | |
| parent | 395a09c3dafe0c7838c9ca41d2b47bb5e79a5b6d (diff) | |
| parent | 0a6001b5a03481a323048ef387e31033080ee18f (diff) | |
| download | rust-9ddae155322de3ed2f348629925a18538e96020c.tar.gz rust-9ddae155322de3ed2f348629925a18538e96020c.zip | |
Rollup merge of #94647 - Urgau:hash-map-many-mut, r=Amanieu
Expose `get_many_mut` and `get_many_unchecked_mut` to HashMap This pull-request expose the function [`get_many_mut`](https://docs.rs/hashbrown/0.12.0/hashbrown/struct.HashMap.html#method.get_many_mut) and [`get_many_unchecked_mut`](https://docs.rs/hashbrown/0.12.0/hashbrown/struct.HashMap.html#method.get_many_unchecked_mut) from `hashbrown` to the standard library `HashMap` type. They obviously keep the same API and are added under the (new) `map_many_mut` feature. - `get_many_mut`: Attempts to get mutable references to `N` values in the map at once. - `get_many_unchecked_mut`: Attempts to get mutable references to `N` values in the map at once, without validating that the values are unique.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
