mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 19:54:34 -06:00
Merge pull request #225 from spastorino/readline
It's read_line not readline
This commit is contained in:
@@ -201,7 +201,7 @@ terminal.
|
||||
|
||||
[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
|
||||
passing one argument to `read_line()`: `&mut guess`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user