hash_map_with_capacity

Function hash_map_with_capacity 

pub fn hash_map_with_capacity<K, V>(cap: usize) -> HashMap<K, V, RandomState>
Expand description

Builds a new HashMap with the given capacity.