Skip to content

Commit 85b031b

Browse files
committed
Auto merge of #30234 - vyp:doc-typo, r=apasel422
2 parents 078aff8 + 85a90a3 commit 85b031b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/error-handling.md

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

0 commit comments

Comments
 (0)