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