Skip to content

Commit 38d9373

Browse files
committed
use paths for alias collections directly instead of importing them
Signed-off-by: xermicus <[email protected]>
1 parent 5767174 commit 38d9373

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/seeded_state.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
1-
#[cfg(feature = "std")]
2-
use std::collections::{HashMap, HashSet};
3-
41
use crate::FxHasher;
52

63
/// Type alias for a hashmap using the `fx` hash algorithm with [`FxSeededState`].
74
#[cfg(feature = "std")]
8-
pub type FxHashMapSeed<K, V> = HashMap<K, V, FxSeededState>;
5+
pub type FxHashMapSeed<K, V> = std::collections::HashMap<K, V, FxSeededState>;
96

107
/// Type alias for a hashmap using the `fx` hash algorithm with [`FxSeededState`].
118
#[cfg(feature = "std")]
12-
pub type FxHashSetSeed<V> = HashSet<V, FxSeededState>;
9+
pub type FxHashSetSeed<V> = std::collections::HashSet<V, FxSeededState>;
1310

1411
/// [`FxSetState`] is an alternative state for `HashMap` types, allowing to use [`FxHasher`] with a set seed.
1512
///

0 commit comments

Comments
 (0)