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.
A String in Rust is a flexible container for text that supports all languages and emojis because it uses UTF-8 encoding. Think of it like a dynamic text box that grows as you type, ensuring your program can handle any character from any language safely.