diff options
| author | Pascal Hertleif <killercup@gmail.com> | 2015-05-14 21:24:09 +0200 |
|---|---|---|
| committer | Pascal Hertleif <killercup@gmail.com> | 2015-05-14 21:24:09 +0200 |
| commit | a1577db825550c5217d797320e1a65781d6412ff (patch) | |
| tree | 6cde7e726c1c77ab215f03fbf1eeeb9a48286aa0 | |
| parent | af522079a2e13046cbf5f426874d7f6b672c501e (diff) | |
TRPL: Fix Internal Link
| -rw-r--r-- | src/doc/trpl/guessing-game.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/trpl/guessing-game.md b/src/doc/trpl/guessing-game.md index e5702ed1635..e113ce93449 100644 --- a/src/doc/trpl/guessing-game.md +++ b/src/doc/trpl/guessing-game.md @@ -213,12 +213,12 @@ The next part will use this handle to get input from the user: ``` Here, we call the [`read_line()`][read_line] method on our handle. -[Method][method]s are like associated functions, but are only available on a +[Methods][method] are like associated functions, but are only available on a particular instance of a type, rather than the type itself. We’re also passing one argument to `read_line()`: `&mut guess`. [read_line]: ../std/io/struct.Stdin.html#method.read_line -[method]: methods.html +[method]: method-syntax.html Remember how we bound `guess` above? We said it was mutable. However, `read_line` doesn’t take a `String` as an argument: it takes a `&mut String`. |
