Skip to main content

cargo_util/
collections.rs

1//! Collection aliases using a custom hasher
2
3#![allow(clippy::disallowed_types)]
4
5pub use rustc_hash::FxBuildHasher as BuildHasher;
6pub use rustc_hash::FxHashMap as HashMap;
7pub use rustc_hash::FxHashSet as HashSet;
8
9pub type IndexMap<K, V> = indexmap::IndexMap<K, V, rustc_hash::FxBuildHasher>;
10pub type IndexSet<V> = indexmap::IndexSet<V, rustc_hash::FxBuildHasher>;