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.
sunface
5da1e496a1
|
3 years ago | |
---|---|---|
.. | ||
README.md | 3 years ago | |
strings1.rs | 3 years ago | |
strings2.rs | 3 years ago |
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.