Function overwrite

Source
pub fn overwrite<K: Eq + Hash, V>(
    left: &mut HashMap<K, V>,
    right: HashMap<K, V>,
)
Expand description

On conflict, overwrite elements of left with right.

In other words, this gives precedence to right.