pub fn index_set_with_capacity<K>(n: usize) -> IndexSet<K>
Expand description

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