Tour di Rust Indice dei Contenuti

[Non tradotto] Converting Strings

Many types can be converted to a string using to_string.

The generic function parse can be used to convert strings or string literals into a typed value. This function returns a Result because it could fail.