# Create String from literal string using to_string

* to_string

* [ToString](https://doc.rust-lang.org/std/string/trait.ToString.html) is a trait that can convert anything to a String.

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


