()
| 41 | |
| 42 | impl<K: Eq + Hash, V, const N: usize, const M: usize> SmallHashMap<K, V, N, M> { |
| 43 | pub fn new() -> Self { |
| 44 | Self::Small(SmallVec::new()) |
| 45 | } |
| 46 | |
| 47 | /// Inserts the association `key -> value` into the map, |
| 48 | /// returning the previous value for `key`, if any. |