Change the typo 'that' to 'than' in the book error-handling chapter.
This commit is contained in:
parent
0c7c94e8a0
commit
68c0f024cf
1 changed files with 1 additions and 1 deletions
|
|
@ -887,7 +887,7 @@ fn main() {
|
|||
}
|
||||
```
|
||||
|
||||
Reasonable people can disagree over whether this code is better that the code
|
||||
Reasonable people can disagree over whether this code is better than the code
|
||||
that uses combinators, but if you aren't familiar with the combinator approach,
|
||||
this code looks simpler to read to me. It uses explicit case analysis with
|
||||
`match` and `if let`. If an error occurs, it simply stops executing the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue