summaryrefslogtreecommitdiff
path: root/src/collections.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/collections.rs')
-rw-r--r--src/collections.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/collections.rs b/src/collections.rs
deleted file mode 100644
index 3f2841e..0000000
--- a/src/collections.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-use foldhash::fast::FixedState;
-
-/// DOS attacks aren't a concern for Rustlings. Therefore, we use `foldhash` with a fixed state.
-pub type HashSet<T> = std::collections::HashSet<T, FixedState>;
-
-#[inline]
-pub fn hash_set_with_capacity<T>(capacity: usize) -> HashSet<T> {
- HashSet::with_capacity_and_hasher(capacity, FixedState::default())
-}