From 68c0f024cf1d5e0403c859465474ce6304d28314 Mon Sep 17 00:00:00 2001 From: Jeff Walden Date: Sun, 27 Dec 2015 00:24:45 -0600 Subject: [PATCH] Change the typo 'that' to 'than' in the book error-handling chapter. --- src/doc/book/error-handling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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