use ahash::AHasher; use std::hash::BuildHasherDefault; /// DOS attacks aren't a concern for Rustlings. Therefore, we use `ahash` with fixed seeds. pub type HashSet = std::collections::HashSet>; #[inline] pub fn hash_set_with_capacity(capacity: usize) -> HashSet { HashSet::with_capacity_and_hasher(capacity, BuildHasherDefault::::default()) }