Skip to main content

One doc tagged with "str"

View all tags

String Types: `&str` and `String`

After exploring compound types like tuples and arrays, we need to address one of the most common and important data types in any language &str (a string slice) and String.