diff --git a/src/doc/book/error-handling.md b/src/doc/book/error-handling.md index de41a8fe03b..3479230f774 100644 --- a/src/doc/book/error-handling.md +++ b/src/doc/book/error-handling.md @@ -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