Skip to content

Commit b0b6db6

Browse files
committed
Rollup merge of rust-lang#25284 - petehunt:patch-1, r=steveklabnik
Noticed this while perusing the docs
2 parents c891375 + 6d41013 commit b0b6db6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/guessing-game.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ information’. Why throw it away? Well, for a basic program, we just want to
273273
print a generic error, as basically any issue means we can’t continue. The
274274
[`ok()` method][ok] returns a value which has another method defined on it:
275275
`expect()`. The [`expect()` method][expect] takes a value it’s called on, and
276-
if it isn’t a successful one, [`panic!`][panic]s with a message you passed you
276+
if it isn’t a successful one, [`panic!`][panic]s with a message you
277277
passed it. A `panic!` like this will cause our program to crash, displaying
278278
the message.
279279

0 commit comments

Comments
 (0)