mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 20:49:41 +00:00
Fix: typo
This commit is contained in:
@ -95,7 +95,7 @@ fn main() {
|
|||||||
```
|
```
|
||||||
|
|
||||||
### &str and String
|
### &str and String
|
||||||
Opsite to the seldom using of `str`, `&str` and `String` are used everywhere!
|
Opposite to the seldom using of `str`, `&str` and `String` are used everywhere!
|
||||||
|
|
||||||
7. 🌟🌟 `&str` can be converted to `String` in two ways
|
7. 🌟🌟 `&str` can be converted to `String` in two ways
|
||||||
```rust,editable
|
```rust,editable
|
||||||
|
Reference in New Issue
Block a user