From eab24b80cec0081ae0d2f75e467ae61209f71909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=90=E9=BC=8E?= <568783010@qq.com> Date: Wed, 9 Mar 2022 11:03:00 +0800 Subject: [PATCH] fix: fix use utf_slice to use utf8_slice --- src/collections/string.md | 2 +- src/compound-types/string.md | 2 +- zh-CN/src/collections/String.md | 2 +- zh-CN/src/compound-types/string.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/collections/string.md b/src/collections/string.md index 2b68760..f00d680 100644 --- a/src/collections/string.md +++ b/src/collections/string.md @@ -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 πŸŒ‘!"; diff --git a/src/compound-types/string.md b/src/compound-types/string.md index 81a2a3b..f5b3958 100644 --- a/src/compound-types/string.md +++ b/src/compound-types/string.md @@ -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 πŸŒ‘!"; diff --git a/zh-CN/src/collections/String.md b/zh-CN/src/collections/String.md index 882b305..f75d5ad 100644 --- a/zh-CN/src/collections/String.md +++ b/zh-CN/src/collections/String.md @@ -113,7 +113,7 @@ fn main() { **η€ΊδΎ‹** ```rust -use utf_slice; +use utf8_slice; fn main() { let s = "The πŸš€ goes to the πŸŒ‘!"; diff --git a/zh-CN/src/compound-types/string.md b/zh-CN/src/compound-types/string.md index abe267d..1c060d0 100644 --- a/zh-CN/src/compound-types/string.md +++ b/zh-CN/src/compound-types/string.md @@ -245,7 +245,7 @@ fn main() { **Example** ```rust -use utf_slice; +use utf8_slice; fn main() { let s = "The πŸš€ goes to the πŸŒ‘!";