fix: fix use utf_slice to use utf8_slice
This commit is contained in:
parent
a99cea6ace
commit
eab24b80ce
|
@ -110,7 +110,7 @@ You can use [utf8_slice](https://docs.rs/utf8_slice/1.0.0/utf8_slice/fn.slice.ht
|
|||
|
||||
**Example**
|
||||
```rust
|
||||
use utf_slice;
|
||||
use utf8_slice;
|
||||
fn main() {
|
||||
let s = "The 🚀 goes to the 🌑!";
|
||||
|
||||
|
|
|
@ -254,7 +254,7 @@ You can use [utf8_slice](https://docs.rs/utf8_slice/1.0.0/utf8_slice/fn.slice.ht
|
|||
|
||||
**Example**
|
||||
```rust
|
||||
use utf_slice;
|
||||
use utf8_slice;
|
||||
fn main() {
|
||||
let s = "The 🚀 goes to the 🌑!";
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@ fn main() {
|
|||
|
||||
**示例**
|
||||
```rust
|
||||
use utf_slice;
|
||||
use utf8_slice;
|
||||
fn main() {
|
||||
let s = "The 🚀 goes to the 🌑!";
|
||||
|
||||
|
|
|
@ -245,7 +245,7 @@ fn main() {
|
|||
|
||||
**Example**
|
||||
```rust
|
||||
use utf_slice;
|
||||
use utf8_slice;
|
||||
fn main() {
|
||||
let s = "The 🚀 goes to the 🌑!";
|
||||
|
||||
|
|
Loading…
Reference in New Issue