pub fn index_map_with_capacity<K, V>(n: usize) -> IndexMap<K, V>
Expand description

This is safe for std and no-std use cases (unlike IndexMap::with_capacity which disappears when std is not in the toolchain - see this article for deep technical reasons)