about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-02-03 02:54:25 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-02-03 02:54:25 +0530
commit1a21dabf27232c5c9281a6bf7a8b83afb3efa201 (patch)
treef758e1d6a39f94e686adfb7c662873e692869699
parent86650211a950073e4658c6816c81bf8158f8478b (diff)
parentb2e887f0aa81e0751e30165d599ef97614320645 (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.md2
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