Skip to main content

insert_or_merge

Function insert_or_merge 

Source
fn insert_or_merge<K: Hash + Eq, T: MergeValue>(
    map: &mut SeqHashMap<K, T>,
    k: K,
    x: T,
)
Expand description

Insert in map, merging with the existing value if the key is already there.