1
0
Fork 0
mirror of https://github.com/notohh/rustlings.git synced 2025-07-16 20:15:33 -04:00

redo the section readmes

This commit is contained in:
liv 2019-01-23 21:02:06 +01:00
parent dc1f3b79f8
commit a49a22071a
10 changed files with 68 additions and 14 deletions
exercises/strings

View file

@ -1 +1,9 @@
For this exercise check out the chapter [Strings](https://doc.rust-lang.org/book/2018-edition/ch08-02-strings.html) of the Rust Book.
### 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.
#### Book Sections
- [Strings](https://doc.rust-lang.org/stable/book/ch08-02-strings.html)