indexmap-rs / indexmap

A hash table with consistent order and fast iteration; access items by key or sequence index
https://docs.rs/indexmap/
Other
1.71k stars 150 forks source link

Add `Slice::new` and `new_mut` for empty slices #278

Closed cuviper closed 1 year ago

cuviper commented 1 year ago

In addition, the existing len and is_empty are now const fn.