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 ac69dc1cbd
move rustlings-zh to assets dir
3 years ago
..
README.md move rustlings-zh to assets dir 3 years ago
strings1.rs move rustlings-zh to assets dir 3 years ago
strings2.rs move rustlings-zh to assets dir 3 years ago

README.md

字符串

Rust 有两种字符串类型,一种是字符串切片(&str),另一种是拥有所有权的字符串(String)。我们不打算向你说明何时使用其中哪一种,但我们将为你讲解如何区分和创建它们,并灵活使用。

更多信息