Skip to content

Commit 15ccdeb

Browse files
committed
Update to hashbrown 0.9
1 parent 90782cb commit 15ccdeb

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

Cargo.lock

+4-5
Original file line numberDiff line numberDiff line change
@@ -1259,11 +1259,10 @@ dependencies = [
12591259

12601260
[[package]]
12611261
name = "hashbrown"
1262-
version = "0.8.2"
1262+
version = "0.9.0"
12631263
source = "registry+https://github.com/rust-lang/crates.io-index"
1264-
checksum = "e91b62f79061a0bc2e046024cb7ba44b08419ed238ecbd9adbd787434b9e8c25"
1264+
checksum = "00d63df3d41950fb462ed38308eea019113ad1508da725bbedcd0fa5a85ef5f7"
12651265
dependencies = [
1266-
"autocfg",
12671266
"compiler_builtins",
12681267
"rustc-std-workspace-alloc",
12691268
"rustc-std-workspace-core",
@@ -1401,9 +1400,9 @@ dependencies = [
14011400

14021401
[[package]]
14031402
name = "indexmap"
1404-
version = "1.5.1"
1403+
version = "1.6.0"
14051404
source = "registry+https://github.com/rust-lang/crates.io-index"
1406-
checksum = "86b45e59b16c76b11bf9738fd5d38879d3bd28ad292d7b313608becb17ae2df9"
1405+
checksum = "55e2e4c765aa53a0424761bf9f41aa7a6ac1efa87238f59560640e27fca028f2"
14071406
dependencies = [
14081407
"autocfg",
14091408
"hashbrown",

library/std/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ libc = { version = "0.2.74", default-features = false, features = ['rustc-dep-of
2020
compiler_builtins = { version = "0.1.35" }
2121
profiler_builtins = { path = "../profiler_builtins", optional = true }
2222
unwind = { path = "../unwind" }
23-
hashbrown = { version = "0.8.1", default-features = false, features = ['rustc-dep-of-std'] }
23+
hashbrown = { version = "0.9.0", default-features = false, features = ['rustc-dep-of-std'] }
2424

2525
# Dependencies of the `backtrace` crate
2626
addr2line = { version = "0.13.0", optional = true, default-features = false }

library/std/src/collections/hash/map.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -1247,16 +1247,16 @@ pub struct RawEntryBuilderMut<'a, K: 'a, V: 'a, S: 'a> {
12471247
#[unstable(feature = "hash_raw_entry", issue = "56167")]
12481248
pub enum RawEntryMut<'a, K: 'a, V: 'a, S: 'a> {
12491249
/// An occupied entry.
1250-
Occupied(RawOccupiedEntryMut<'a, K, V>),
1250+
Occupied(RawOccupiedEntryMut<'a, K, V, S>),
12511251
/// A vacant entry.
12521252
Vacant(RawVacantEntryMut<'a, K, V, S>),
12531253
}
12541254

12551255
/// A view into an occupied entry in a `HashMap`.
12561256
/// It is part of the [`RawEntryMut`] enum.
12571257
#[unstable(feature = "hash_raw_entry", issue = "56167")]
1258-
pub struct RawOccupiedEntryMut<'a, K: 'a, V: 'a> {
1259-
base: base::RawOccupiedEntryMut<'a, K, V>,
1258+
pub struct RawOccupiedEntryMut<'a, K: 'a, V: 'a, S: 'a> {
1259+
base: base::RawOccupiedEntryMut<'a, K, V, S>,
12601260
}
12611261

12621262
/// A view into a vacant entry in a `HashMap`.
@@ -1457,7 +1457,7 @@ impl<'a, K, V, S> RawEntryMut<'a, K, V, S> {
14571457
}
14581458
}
14591459

1460-
impl<'a, K, V> RawOccupiedEntryMut<'a, K, V> {
1460+
impl<'a, K, V, S> RawOccupiedEntryMut<'a, K, V, S> {
14611461
/// Gets a reference to the key in the entry.
14621462
#[inline]
14631463
#[unstable(feature = "hash_raw_entry", issue = "56167")]
@@ -1597,7 +1597,7 @@ impl<K: Debug, V: Debug, S> Debug for RawEntryMut<'_, K, V, S> {
15971597
}
15981598

15991599
#[unstable(feature = "hash_raw_entry", issue = "56167")]
1600-
impl<K: Debug, V: Debug> Debug for RawOccupiedEntryMut<'_, K, V> {
1600+
impl<K: Debug, V: Debug, S> Debug for RawOccupiedEntryMut<'_, K, V, S> {
16011601
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
16021602
f.debug_struct("RawOccupiedEntryMut")
16031603
.field("key", self.key())

0 commit comments

Comments
 (0)