mirror of https://github.com/sunface/rust-course
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
315 B
10 lines
315 B
3 years ago
|
# 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)
|