From 3a9fad7b0cb763d15b3b5ea3641055cc48641a16 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Wed, 25 Sep 2024 20:46:33 +0200 Subject: [PATCH] chore(primitives): remove Fx* aliases --- crates/primitives/src/map/mod.rs | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) 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; - } - } } }