mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 04:29:41 +00:00
Small language fix in string.md
This commit is contained in:
@ -16,7 +16,7 @@ fn main() {
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
2. 🌟🌟 We can only use `str` by boxed it, `&` can be used to convert `Box<str>` to `&str`
|
2. 🌟🌟 We can only use `str` by boxing it, `&` can be used to convert `Box<str>` to `&str`
|
||||||
|
|
||||||
```rust,editable
|
```rust,editable
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user