Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ra-salsa/src/hash.rs')
-rw-r--r--crates/ra-salsa/src/hash.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/ra-salsa/src/hash.rs b/crates/ra-salsa/src/hash.rs
new file mode 100644
index 0000000000..3b2d7df3fb
--- /dev/null
+++ b/crates/ra-salsa/src/hash.rs
@@ -0,0 +1,3 @@
+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>;