Skip to content

Commit c3cb1b3

Browse files
authored
Fix typo in 02_match (#296)
1 parent af4fe9c commit c3cb1b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/src/05_ticket_v2/02_match.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ match status {
7070
The `_` pattern matches anything that wasn't matched by the previous patterns.
7171

7272
<div class="warning">
73-
By using this catch-all pattern, you _won't_ get the benefits of compiler-driven refactoring.\
73+
By using this catch-all pattern, you _won't_ get the benefits of compiler-driven refactoring.
7474
If you add a new enum variant, the compiler _won't_ tell you that you're not handling it.
7575

7676
If you're keen on correctness, avoid using catch-alls. Leverage the compiler to re-examine all matching sites and determine how new enum variants should be handled.

0 commit comments

Comments
 (0)