diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-02-03 02:54:25 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-02-03 02:54:25 +0530 |
| commit | 1a21dabf27232c5c9281a6bf7a8b83afb3efa201 (patch) | |
| tree | f758e1d6a39f94e686adfb7c662873e692869699 | |
| parent | 86650211a950073e4658c6816c81bf8158f8478b (diff) | |
| parent | b2e887f0aa81e0751e30165d599ef97614320645 (diff) | |
Rollup merge of #31366 - paulsmith:patch-1, r=steveklabnik
The context of the link is `Result` but it points to the docs on `Option`'s `expect`.
| -rw-r--r-- | src/doc/book/guessing-game.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/guessing-game.md b/src/doc/book/guessing-game.md index 861ef6810f5..a5259e9ca4c 100644 --- a/src/doc/book/guessing-game.md +++ b/src/doc/book/guessing-game.md @@ -276,7 +276,7 @@ it’s called on, and 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. -[expect]: ../std/option/enum.Option.html#method.expect +[expect]: ../std/result/enum.Result.html#method.expect [panic]: error-handling.html If we leave off calling this method, our program will compile, but |
