mirror of
https://github.com/notohh/rustlings.git
synced 2024-10-31 09:09:12 -04:00
249ad44cc0
all exercises readme files now have a unified structure and a description
315 B
315 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.