diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-05-11 19:58:56 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-05-11 19:58:56 +0530 |
| commit | b0b6db6cb3970152cbb4a7a66b4e19cf8af3f33d (patch) | |
| tree | 0f9b840c2444dc01647fd29ccbe3d3dbf07a6a38 /src | |
| parent | c8913752984b9b5d0501e29f28582fdb0902680b (diff) | |
| parent | 6d410132dcbe7a83f3276b6eac4c0baa0f6a3930 (diff) | |
| download | rust-b0b6db6cb3970152cbb4a7a66b4e19cf8af3f33d.tar.gz rust-b0b6db6cb3970152cbb4a7a66b4e19cf8af3f33d.zip | |
Rollup merge of #25284 - petehunt:patch-1, r=steveklabnik
Noticed this while perusing the docs
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/guessing-game.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/guessing-game.md b/src/doc/trpl/guessing-game.md index 12dd087f20c..e5702ed1635 100644 --- a/src/doc/trpl/guessing-game.md +++ b/src/doc/trpl/guessing-game.md @@ -273,7 +273,7 @@ information’. Why throw it away? Well, for a basic program, we just want to print a generic error, as basically any issue means we can’t continue. The [`ok()` method][ok] returns a value which has another method defined on it: `expect()`. The [`expect()` method][expect] takes a value it’s called on, and -if it isn’t a successful one, [`panic!`][panic]s with a message you passed you +if it isn’t a successful one, [`panic!`][panic]s with a message you passed it. A `panic!` like this will cause our program to crash, displaying the message. |
