Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
randomPoison committed Dec 14, 2024
1 parent 5019462 commit 0634fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/control-flow-basics/match.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fn main() {

- `match` expressions need to be exhaustive, meaning they either need to cover
all possible values or they need to have a default case such as `_`.
Exhaustiveness is easiest to demonstate with enums, but enums haven't been
Exhaustiveness is easiest to demonstrate with enums, but enums haven't been
introduced yet. Instead we demonstrate matching on a `bool`, which is the
simplest primitive type.

Expand Down

0 comments on commit 0634fa4

Please sign in to comment.