fix: misleading words

This commit is contained in:
lzy1960
2022-11-21 21:32:34 +08:00
parent 1a5bdaaf77
commit e15352c399
3 changed files with 7 additions and 4 deletions

View File

@ -149,6 +149,7 @@ fn main() {
/* 填空并修复所有错误 */
fn main() {
let raw_str = r"Escapes don't work here: \x3F \u{211D}";
// 修改上面的行让代码工作
assert_eq!(raw_str, "Escapes don't work here: ? ");
// 如果你希望在字符串中使用双引号,可以使用以下形式
@ -254,4 +255,4 @@ fn main() {
```
> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/string.md)找到答案(在 solutions 路径下)
> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/string.md)找到答案(在 solutions 路径下)