pub fn hash_set<S, H>(set: S, hasher: &mut H)where
S: IntoIterator,
H: Hasher,
<S as IntoIterator>::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.