fix typos

This commit is contained in:
sunface
2022-04-02 15:48:27 +08:00
parent 6108d9be85
commit 942cd34753
2 changed files with 2 additions and 4 deletions

View File

@ -146,10 +146,9 @@ fn main() {
10. 🌟🌟🌟 有时候需要转义的字符很多,我们会希望使用更方便的方式来书写字符串: raw string.
```rust,editable
/* 填空并修复所有错误 */
fn main() {
let raw_str = r"Escapes don't work here: \x3F \u{211D}";
// 修改以下代码行,让它工作
assert_eq!(raw_str, "Escapes don't work here: ? ");
// 如果你希望在字符串中使用双引号,可以使用以下形式