(len: usize)
| 33 | } |
| 34 | |
| 35 | pub fn new_empty(len: usize) -> Self { |
| 36 | Self { |
| 37 | offsets: vec![K::zero(); len + 1], |
| 38 | storage: String::new(), |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | pub fn with_capacity(keys: usize, values: usize) -> Self { |
| 43 | let mut offsets = Vec::with_capacity(keys + 1); |
nothing calls this directly
no outgoing calls
no test coverage detected