diff --git a/crates/primitives/src/map/mod.rs b/crates/primitives/src/map/mod.rs index 57949d9a6..6ac00e025 100644 --- a/crates/primitives/src/map/mod.rs +++ b/crates/primitives/src/map/mod.rs @@ -106,13 +106,8 @@ cfg_if! { /// /// This is [`rustc_hash::FxBuildHasher`], unless both the "std" and "rand" features are /// enabled, in which case it will be [`rustc_hash::FxRandomState`] for better security at - /// very little cost. If this is not preferred, consider using the `Fx*` aliases directly. + /// very little cost. pub type FxBuildHasher = FxBuildHasherInner; - - /// A [`HashMap`] using [`FxHasher`] as its hasher. - pub type FxHashMap = HashMap; - /// A [`HashSet`] using [`FxHasher`] as its hasher. - pub type FxHashSet = HashSet; } } @@ -149,15 +144,6 @@ cfg_if! { /// /// See [`IndexSet`](indexmap::IndexSet) for more information. pub type IndexSet = indexmap::IndexSet; - - cfg_if! { - if #[cfg(feature = "map-fxhash")] { - /// An [`IndexMap`] using [`FxHasher`] as its hasher. - pub type FxIndexMap = IndexMap; - /// An [`IndexSet`] using [`FxHasher`] as its hasher. - pub type FxIndexSet = IndexSet; - } - } } }