Update to hashbrown 0.9
This commit is contained in:
parent
90782cb50b
commit
15ccdeb224
|
@ -1259,11 +1259,10 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "hashbrown"
|
name = "hashbrown"
|
||||||
version = "0.8.2"
|
version = "0.9.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "e91b62f79061a0bc2e046024cb7ba44b08419ed238ecbd9adbd787434b9e8c25"
|
checksum = "00d63df3d41950fb462ed38308eea019113ad1508da725bbedcd0fa5a85ef5f7"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"autocfg",
|
|
||||||
"compiler_builtins",
|
"compiler_builtins",
|
||||||
"rustc-std-workspace-alloc",
|
"rustc-std-workspace-alloc",
|
||||||
"rustc-std-workspace-core",
|
"rustc-std-workspace-core",
|
||||||
|
@ -1401,9 +1400,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "indexmap"
|
name = "indexmap"
|
||||||
version = "1.5.1"
|
version = "1.6.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "86b45e59b16c76b11bf9738fd5d38879d3bd28ad292d7b313608becb17ae2df9"
|
checksum = "55e2e4c765aa53a0424761bf9f41aa7a6ac1efa87238f59560640e27fca028f2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"autocfg",
|
"autocfg",
|
||||||
"hashbrown",
|
"hashbrown",
|
||||||
|
|
|
@ -20,7 +20,7 @@ libc = { version = "0.2.74", default-features = false, features = ['rustc-dep-of
|
||||||
compiler_builtins = { version = "0.1.35" }
|
compiler_builtins = { version = "0.1.35" }
|
||||||
profiler_builtins = { path = "../profiler_builtins", optional = true }
|
profiler_builtins = { path = "../profiler_builtins", optional = true }
|
||||||
unwind = { path = "../unwind" }
|
unwind = { path = "../unwind" }
|
||||||
hashbrown = { version = "0.8.1", default-features = false, features = ['rustc-dep-of-std'] }
|
hashbrown = { version = "0.9.0", default-features = false, features = ['rustc-dep-of-std'] }
|
||||||
|
|
||||||
# Dependencies of the `backtrace` crate
|
# Dependencies of the `backtrace` crate
|
||||||
addr2line = { version = "0.13.0", optional = true, default-features = false }
|
addr2line = { version = "0.13.0", optional = true, default-features = false }
|
||||||
|
|
|
@ -1247,7 +1247,7 @@ pub struct RawEntryBuilderMut<'a, K: 'a, V: 'a, S: 'a> {
|
||||||
#[unstable(feature = "hash_raw_entry", issue = "56167")]
|
#[unstable(feature = "hash_raw_entry", issue = "56167")]
|
||||||
pub enum RawEntryMut<'a, K: 'a, V: 'a, S: 'a> {
|
pub enum RawEntryMut<'a, K: 'a, V: 'a, S: 'a> {
|
||||||
/// An occupied entry.
|
/// An occupied entry.
|
||||||
Occupied(RawOccupiedEntryMut<'a, K, V>),
|
Occupied(RawOccupiedEntryMut<'a, K, V, S>),
|
||||||
/// A vacant entry.
|
/// A vacant entry.
|
||||||
Vacant(RawVacantEntryMut<'a, K, V, S>),
|
Vacant(RawVacantEntryMut<'a, K, V, S>),
|
||||||
}
|
}
|
||||||
|
@ -1255,8 +1255,8 @@ pub enum RawEntryMut<'a, K: 'a, V: 'a, S: 'a> {
|
||||||
/// A view into an occupied entry in a `HashMap`.
|
/// A view into an occupied entry in a `HashMap`.
|
||||||
/// It is part of the [`RawEntryMut`] enum.
|
/// It is part of the [`RawEntryMut`] enum.
|
||||||
#[unstable(feature = "hash_raw_entry", issue = "56167")]
|
#[unstable(feature = "hash_raw_entry", issue = "56167")]
|
||||||
pub struct RawOccupiedEntryMut<'a, K: 'a, V: 'a> {
|
pub struct RawOccupiedEntryMut<'a, K: 'a, V: 'a, S: 'a> {
|
||||||
base: base::RawOccupiedEntryMut<'a, K, V>,
|
base: base::RawOccupiedEntryMut<'a, K, V, S>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A view into a vacant entry in a `HashMap`.
|
/// A view into a vacant entry in a `HashMap`.
|
||||||
|
@ -1457,7 +1457,7 @@ impl<'a, K, V, S> RawEntryMut<'a, K, V, S> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a, K, V> RawOccupiedEntryMut<'a, K, V> {
|
impl<'a, K, V, S> RawOccupiedEntryMut<'a, K, V, S> {
|
||||||
/// Gets a reference to the key in the entry.
|
/// Gets a reference to the key in the entry.
|
||||||
#[inline]
|
#[inline]
|
||||||
#[unstable(feature = "hash_raw_entry", issue = "56167")]
|
#[unstable(feature = "hash_raw_entry", issue = "56167")]
|
||||||
|
@ -1597,7 +1597,7 @@ impl<K: Debug, V: Debug, S> Debug for RawEntryMut<'_, K, V, S> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[unstable(feature = "hash_raw_entry", issue = "56167")]
|
#[unstable(feature = "hash_raw_entry", issue = "56167")]
|
||||||
impl<K: Debug, V: Debug> Debug for RawOccupiedEntryMut<'_, K, V> {
|
impl<K: Debug, V: Debug, S> Debug for RawOccupiedEntryMut<'_, K, V, S> {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||||
f.debug_struct("RawOccupiedEntryMut")
|
f.debug_struct("RawOccupiedEntryMut")
|
||||||
.field("key", self.key())
|
.field("key", self.key())
|
||||||
|
|
Loading…
Reference in New Issue