Skip to content

Commit ded10f4

Browse files
committed
Auto merge of #30575 - jswalden:error-handling-typo, r=apasel422
Didn't build/test the change, but if that one-character fix isn't correct, I'll eat my hat. :-) Found this reading the book over the last week or two since Mozlando -- much enjoying the book so far.
2 parents 2ced149 + 68c0f02 commit ded10f4

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)