Merge branch 'master' of https://github.com/sunface/rust-by-practice
This commit is contained in:
commit
741e419324
|
@ -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