mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-05-16 09:38:12 +02:00
d9b63641e5
docs: add str and String documentation links
473 B
473 B
Strings
Rust has two string types: a string slice (&str) and an owned string (String).
We're not going to dictate when you should use which one, but we'll show you how
to identify and create them, as well as use them.