Closed
Description
It is not clear how exactly to convert HashSet<Foo>
into a form that would be " generalization over different hashers", and the fact that if you go to https://doc.rust-lang.org/std/collections/hash_map/struct.HashMap.html you see:
pub struct HashMap<K, V, S = RandomState> { /* fields omitted */ }
is not helping. "Where is this Hasher thing?"
It would be great if https://rust-lang.github.io/rust-clippy/master/index.html#implicit_hasher could show the wrong code and then the right one, to make it clear.