Function hashbrown::map::make_hasher

source ·
pub(crate) fn make_hasher<Q, V, S>(
    hash_builder: &S
) -> impl Fn(&(Q, V)) -> u64 + '_where
    Q: Hash,
    S: BuildHasher,
Expand description

Ensures that a single closure type across uses of this which, in turn prevents multiple instances of any functions like RawTable::reserve from being generated