From 4422586e54e6dd1b6f2e1dd9f051e8b0afea815e Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Tue, 23 Aug 2016 23:02:23 -0300 Subject: [PATCH] It's read_line not readline --- src/ch02-00-guessing-game-tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch02-00-guessing-game-tutorial.md b/src/ch02-00-guessing-game-tutorial.md index 5abcd4ad3..dfc0dba61 100644 --- a/src/ch02-00-guessing-game-tutorial.md +++ b/src/ch02-00-guessing-game-tutorial.md @@ -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`.