Skip to content

Commit 68c0f02

Browse files
committed
Change the typo 'that' to 'than' in the book error-handling chapter.
1 parent 0c7c94e commit 68c0f02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/error-handling.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ fn main() {
887887
}
888888
```
889889

890-
Reasonable people can disagree over whether this code is better that the code
890+
Reasonable people can disagree over whether this code is better than the code
891891
that uses combinators, but if you aren't familiar with the combinator approach,
892892
this code looks simpler to read to me. It uses explicit case analysis with
893893
`match` and `if let`. If an error occurs, it simply stops executing the

0 commit comments

Comments
 (0)