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:
213213```
214214
215215Here, 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
217217particular instance of a type, rather than the type itself. We’re also passing
218218one argument to ` read_line() ` : ` &mut guess ` .
219219
220220[ read_line ] : ../std/io/struct.Stdin.html#method.read_line
221- [ method ] : methods .html
221+ [ method ] : method-syntax .html
222222
223223Remember how we bound ` guess ` above? We said it was mutable. However,
224224` 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