I'm reading The Rust Programming Language. The docs define a String as "growable":
A UTF-8 encoded, growable string.
I've found that growable is not the same as mutable, but they don't really explain what makes a type "growable".
Given this let mut guess = String::new(),
- What does "growable" mean?
- How does
mutchange a growable string? - Is there a non-growable string type?