doc(book/error-handling): fix typo

This commit is contained in:
xd1le 2015-12-06 20:32:49 +11:00
parent 3ffc6f0450
commit 85a90a3c20
1 changed files with 1 additions and 1 deletions

View File

@ -2122,7 +2122,7 @@ heuristics!
`unwrap`. Be warned: if it winds up in someone else's hands, don't be
surprised if they are agitated by poor error messages!
* If you're writing a quick 'n' dirty program and feel ashamed about panicking
anyway, then using either a `String` or a `Box<Error + Send + Sync>` for your
anyway, then use either a `String` or a `Box<Error + Send + Sync>` for your
error type (the `Box<Error + Send + Sync>` type is because of the
[available `From` impls](../std/convert/trait.From.html)).
* Otherwise, in a program, define your own error types with appropriate