# Create immutable hash with data

* HashMap
* from
* keys

* We can also create a HashMap from existing data. In this case the hash does not have to be mutable.

{% embed include file="src/examples/hashes/create-hash-with-data/src/main.rs" %}
{% embed include file="src/examples/hashes/create-hash-with-data/out.out" %}


