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::FxHashMap as HashMap;
6pub use rustc_hash::FxHashSet as HashSet;
7
8pub type IndexMap<K, V> = indexmap::IndexMap<K, V, rustc_hash::FxBuildHasher>;
9pub type IndexSet<V> = indexmap::IndexSet<V, rustc_hash::FxBuildHasher>;