# Merge two HashMaps adding the values implemented as a function

* HashMap

{% embed include file="src/examples/hashes/total-values-using-function/src/main.rs" %}

{% embed include file="src/examples/hashes/total-values-using-function/out.out" %}


