Skip to main content

cargo/util/
data_structures.rs

1// Here we define wrappers for some of those types
2#![allow(clippy::disallowed_types)]
3
4pub use rustc_hash::FxHashMap as HashMap;
5pub use rustc_hash::FxHashSet as HashSet;
6
7pub type IndexMap<K, V> = indexmap::IndexMap<K, V, rustc_hash::FxBuildHasher>;
8pub type IndexSet<V> = indexmap::IndexSet<V, rustc_hash::FxBuildHasher>;