Skip to content

Commit 23c9f58

Browse files
committed
Tweak a snippet of ch18-03
Follow up rust-lang/book#3090.
1 parent 2659321 commit 23c9f58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ch18-03-pattern-syntax.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,11 +262,11 @@ match x {
262262
```
263263

264264
<!--
265-
Rust can tell that `c` is within the first pattern’s range and prints `early
265+
Rust can tell that `'c'` is within the first pattern’s range and prints `early
266266
ASCII letter`.
267267
-->
268268

269-
コンパイラには`c`が最初のパターンの範囲にあることがわかり、`early ASCII letter`と出力されます。
269+
コンパイラには`'c'`が最初のパターンの範囲にあることがわかり、`early ASCII letter`と出力されます。
270270

271271
<!--
272272
### Destructuring to Break Apart Values

0 commit comments

Comments
 (0)