Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeMathWalker committed Dec 18, 2024
1 parent 1993507 commit 93536fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions book/src/05_ticket_v2/02_match.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,5 @@ By using this catch-all pattern, you _won't_ get the benefits of compiler-driven
If you add a new enum variant, the compiler _won't_ tell you that you're not handling it.

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.

</div>

0 comments on commit 93536fb

Please sign in to comment.