Skip to content

Commit

Permalink
doc(book/error-handling): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vyp committed Dec 6, 2015
1 parent 3ffc6f0 commit 85a90a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/book/error-handling.md
Expand Up @@ -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
Expand Down

0 comments on commit 85a90a3

Please sign in to comment.