indexmap::map::core

Function reserve_entries

Source
fn reserve_entries<K, V>(
    entries: &mut Vec<Bucket<K, V>>,
    additional: usize,
    try_capacity: usize,
)
Expand description

Reserve entries capacity, rounded up to match the indices (via try_capacity).