How to Handle UTF-8 Strings in Rust

Use the `String` type to store and manipulate growable, UTF-8 encoded text in Rust.

Use the String type to store UTF-8 encoded text, as it is a growable, heap-allocated collection of characters.

let mut guess = String::new();

The String type is provided by the standard library and handles UTF-8 encoding automatically, unlike string slices (&str) which are immutable views.