Skip to content

Commit

Permalink
Merge pull request #2278 from filakhtov/ch06-02-fix
Browse files Browse the repository at this point in the history
Add the missing word to the sentence (ch06-2)
  • Loading branch information
steveklabnik committed Mar 31, 2020
2 parents b76c30a + a273b02 commit 85817b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch06-02-match.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ pattern we forgot! Matches in Rust are *exhaustive*: we must exhaust every last
possibility in order for the code to be valid. Especially in the case of
`Option<T>`, when Rust prevents us from forgetting to explicitly handle the
`None` case, it protects us from assuming that we have a value when we might
have null, thus making the billion-dollar mistake discussed earlier.
have null, thus making the billion-dollar mistake discussed earlier impossible.

### The `_` Placeholder

Expand Down

0 comments on commit 85817b2

Please sign in to comment.