Skip to content

Commit b98b246

Browse files
author
Librazy
committed
一点微小的喵
1 parent 445ed84 commit b98b246

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

type/string.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ fn main() {
7171
let miao = vec![229,150,181];
7272

7373
// 我们知道这些字节是合法的UTF-8编码字符串,所以直接unwarp()
74-
let meow = String::from_utf8(sparkle_heart).unwrap();
74+
let meow = String::from_utf8(miao).unwrap();
7575

7676
assert_eq!("", meow);
7777
```

0 commit comments

Comments
 (0)