File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -213,12 +213,12 @@ The next part will use this handle to get input from the user:
213
213
```
214
214
215
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
216
+ [ Methods ] [ method ] are like associated functions, but are only available on a
217
217
particular instance of a type, rather than the type itself. We’re also passing
218
218
one argument to ` read_line() ` : ` &mut guess ` .
219
219
220
220
[ read_line ] : ../std/io/struct.Stdin.html#method.read_line
221
- [ method ] : methods .html
221
+ [ method ] : method-syntax .html
222
222
223
223
Remember how we bound ` guess ` above? We said it was mutable. However,
224
224
` read_line ` doesn’t take a ` String ` as an argument: it takes a ` &mut String ` .
You can’t perform that action at this time.
0 commit comments