slotmap
slotmap copied to clipboard
Make constructor methods const
This allows const constructors in upstream crates, and should be a trivial change.
I definitely should make them const where possible, not all of them can be though (e.g. SparseSecondaryMap
can't be because HashMap::new
isn't const).