]> git.lizzy.rs Git - rust.git/commitdiff
Change the typo 'that' to 'than' in the book error-handling chapter.
authorJeff Walden <jwalden@mit.edu>
Sun, 27 Dec 2015 06:24:45 +0000 (00:24 -0600)
committerJeff Walden <jwalden@mit.edu>
Sun, 27 Dec 2015 06:24:45 +0000 (00:24 -0600)
src/doc/book/error-handling.md

index de41a8fe03b61daa8cbb008d935ca77507280223..3479230f774683b8f8c9bb724c1f950dd5f967a2 100644 (file)
@@ -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