We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af52207 commit a1577dbCopy full SHA for a1577db
src/doc/trpl/guessing-game.md
@@ -213,12 +213,12 @@ The next part will use this handle to get input from the user:
213
```
214
215
Here, we call the [`read_line()`][read_line] method on our handle.
216
-[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
217
particular instance of a type, rather than the type itself. We’re also passing
218
one argument to `read_line()`: `&mut guess`.
219
220
[read_line]: ../std/io/struct.Stdin.html#method.read_line
221
-[method]: methods.html
+[method]: method-syntax.html
222
223
Remember how we bound `guess` above? We said it was mutable. However,
224
`read_line` doesn’t take a `String` as an argument: it takes a `&mut String`.
0 commit comments