mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 04:29:41 +00:00
Fix: typo
This commit is contained in:
@ -95,7 +95,7 @@ fn main() {
|
||||
```
|
||||
|
||||
### &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
|
||||
```rust,editable
|
||||
|
Reference in New Issue
Block a user