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 πŸŒ‘!";