mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 14:02:22 -05:00
9 lines
315 B
Markdown
9 lines
315 B
Markdown
# 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.
|
|
|
|
## Further information
|
|
|
|
- [Strings](https://doc.rust-lang.org/book/ch08-02-strings.html)
|