# Rust clone a String

* clone

* In some cases what we will want is to copy the content of the variable.
* For this we can use the `clone` method.

{% embed include file="src/examples/ownership/string-clone/src/main.rs" %}
{% embed include file="src/examples/ownership/string-clone/out.out" %}


