about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-12-27 19:50:09 +0000
committerbors <bors@rust-lang.org>2015-12-27 19:50:09 +0000
commitded10f43137261faeda8b29f443985266cc8c2a6 (patch)
tree8e43363b7e4b20a928bc0eee646024eecb2b396f
parent2ced1499254008e89166432a59470d7809871ad8 (diff)
parent68c0f024cf1d5e0403c859465474ce6304d28314 (diff)
downloadrust-ded10f43137261faeda8b29f443985266cc8c2a6.tar.gz
rust-ded10f43137261faeda8b29f443985266cc8c2a6.zip
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.
-rw-r--r--src/doc/book/error-handling.md2
1 files changed, 1 insertions, 1 deletions
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