Merge pull request #225 from spastorino/readline

It's read_line not readline
This commit is contained in:
Carol (Nichols || Goulding)
2016-08-24 09:36:59 -04:00
committed by GitHub
+1 -1
View File
@@ -201,7 +201,7 @@ terminal.
[iostdin]: ../std/io/struct.Stdin.html [iostdin]: ../std/io/struct.Stdin.html
The next part, `.read_line(&mut guess)`, calls the [`readline()`][read_line] The next part, `.read_line(&mut guess)`, calls the [`read_line()`][read_line]
method on the standard input handle to get input from the user. We’re also method on the standard input handle to get input from the user. We’re also
passing one argument to `read_line()`: `&mut guess`. passing one argument to `read_line()`: `&mut guess`.