# Shared read-only variable with string value

* The string must be cloned for this to work.

{% embed include file="src/examples/threads/shared-read-only-variable-string/src/main.rs" %}
{% embed include file="src/examples/threads/shared-read-only-variable-string/out.out" %}



