Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'clippy.toml')
-rw-r--r--clippy.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/clippy.toml b/clippy.toml
new file mode 100644
index 0000000000..8032c775ab
--- /dev/null
+++ b/clippy.toml
@@ -0,0 +1,5 @@
+disallowed-types = [
+ { path = "std::collections::HashMap", reason = "use FxHashMap" },
+ { path = "std::collections::HashSet", reason = "use FxHashSet" },
+ { path = "std::collections::hash_map::RandomState", reason = "use BuildHasherDefault<FxHasher>"}
+]