pub fn hash_set<S: IntoIterator, H: Hasher>(set: S, hasher: &mut H)where
    S::Item: Hash,
Expand description

Hash a [HashSet].

The standard library does not provide (yet) a Hash implementation for the [HashSet] type. This can be used instead.

Note that this function not particularly strong and does not protect against DoS attacks.