Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/salsa/src/hash.rs')
-rw-r--r--crates/salsa/src/hash.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/salsa/src/hash.rs b/crates/salsa/src/hash.rs
new file mode 100644
index 0000000000..47a2dd1ce0
--- /dev/null
+++ b/crates/salsa/src/hash.rs
@@ -0,0 +1,4 @@
+//!
+pub(crate) type FxHasher = std::hash::BuildHasherDefault<rustc_hash::FxHasher>;
+pub(crate) type FxIndexSet<K> = indexmap::IndexSet<K, FxHasher>;
+pub(crate) type FxIndexMap<K, V> = indexmap::IndexMap<K, V, FxHasher>;