Function hashmap_add

Source
pub fn hashmap_add<K: Hash + Eq, V: Add<Output = V> + Copy>(
    m: &mut HashMap<K, V>,
    k: K,
    v: V,
)
Expand description

Insert a key-value mapping, or if already existing, add the value to the existing value via Add trait.