1 2 3 4 5 6 7 8
use break_hash_example::MyType; use std::collections::HashSet; pub fn make_set() -> HashSet<MyType> { let mut set = HashSet::new(); set.insert(MyType(42)); set }