Merge pull request #151 from tangdingga1/master

fix: fix use utf_slice to use utf8_slice
This commit is contained in:
Sunface 2022-03-09 12:52:55 +08:00 committed by GitHub
commit a6ab0ce78f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -110,7 +110,7 @@ You can use [utf8_slice](https://docs.rs/utf8_slice/1.0.0/utf8_slice/fn.slice.ht
**Example** **Example**
```rust ```rust
use utf_slice; use utf8_slice;
fn main() { fn main() {
let s = "The πŸš€ goes to the πŸŒ‘!"; let s = "The πŸš€ goes to the πŸŒ‘!";

View File

@ -254,7 +254,7 @@ You can use [utf8_slice](https://docs.rs/utf8_slice/1.0.0/utf8_slice/fn.slice.ht
**Example** **Example**
```rust ```rust
use utf_slice; use utf8_slice;
fn main() { fn main() {
let s = "The πŸš€ goes to the πŸŒ‘!"; let s = "The πŸš€ goes to the πŸŒ‘!";

View File

@ -113,7 +113,7 @@ fn main() {
**η€ΊδΎ‹** **η€ΊδΎ‹**
```rust ```rust
use utf_slice; use utf8_slice;
fn main() { fn main() {
let s = "The πŸš€ goes to the πŸŒ‘!"; let s = "The πŸš€ goes to the πŸŒ‘!";

View File

@ -245,7 +245,7 @@ fn main() {
**Example** **Example**
```rust ```rust
use utf_slice; use utf8_slice;
fn main() { fn main() {
let s = "The πŸš€ goes to the πŸŒ‘!"; let s = "The πŸš€ goes to the πŸŒ‘!";