From 1a8990686e49d86508c258ccbf4e7328854fd6d2 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Wed, 24 Aug 2016 13:45:21 +0000 Subject: [PATCH] rebuild pages at 849fa69 --- ch02-00-guessing-game-tutorial.html | 2 +- print.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ch02-00-guessing-game-tutorial.html b/ch02-00-guessing-game-tutorial.html index eee75c543..26c57e80e 100644 --- a/ch02-00-guessing-game-tutorial.html +++ b/ch02-00-guessing-game-tutorial.html @@ -206,7 +206,7 @@ have written this line as std::io::stdin().

This particular function returns an instance of std::io::Stdin, which is a type that represents a handle to the standard input for your terminal.

-

The next part, .read_line(&mut guess), calls the readline() +

The next part, .read_line(&mut guess), calls the 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.

The job of read_line() is to take whatever the user types into standard input diff --git a/print.html b/print.html index 99baab8bf..6a57adee8 100644 --- a/print.html +++ b/print.html @@ -580,7 +580,7 @@ have written this line as std::io::stdin().

This particular function returns an instance of std::io::Stdin, which is a type that represents a handle to the standard input for your terminal.

-

The next part, .read_line(&mut guess), calls the readline() +

The next part, .read_line(&mut guess), calls the 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.

The job of read_line() is to take whatever the user types into standard input