# Merge HashMaps (extend)

* extend

* If the same key appears twice, the value of the second one wins.

{% embed include file="src/examples/hashes/merge/src/main.rs" %}
{% embed include file="src/examples/hashes/merge/out.out" %}


