9bdb0a12e4
Hints are now accessible using the CLI subcommand `rustlings hint <exercise name`. BREAKING CHANGE: This fundamentally changes the way people interact with exercises. |
||
---|---|---|
.. | ||
README.md | ||
strings1.rs | ||
strings2.rs |
README.md
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.