We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 445ed84 commit b98b246Copy full SHA for b98b246
1 file changed
type/string.md
@@ -71,7 +71,7 @@ fn main() {
71
let miao = vec![229,150,181];
72
73
// 我们知道这些字节是合法的UTF-8编码字符串,所以直接unwarp()
74
-let meow = String::from_utf8(sparkle_heart).unwrap();
+let meow = String::from_utf8(miao).unwrap();
75
76
assert_eq!("喵", meow);
77
```
0 commit comments