From eff86b56000cb4589b67bf6a45b26f381366caae Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Wed, 24 Aug 2016 13:48:56 +0000 Subject: [PATCH] rebuild pages at 4dbb8da --- ch01-01-installation.html | 2 +- ch02-00-guessing-game-tutorial.html | 2 +- print.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ch01-01-installation.html b/ch01-01-installation.html index c123d7475..d6bc9bded 100644 --- a/ch01-01-installation.html +++ b/ch01-01-installation.html @@ -72,7 +72,7 @@ connection to run the commands in this chapter, as we’ll be downloading Rust from the internet.

We’ll be showing off a number of commands using a terminal, and those lines all -start with $. You don't need to type in the $s; they are there to indicate +start with $. You don't need to type in the $ character; they are there to indicate the start of each command. You’ll see many tutorials and examples around the web that follow this convention: $ for commands run as a regular user, and # for commands you should be running as an administrator. Lines that don't start 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..350cc8fe8 100644 --- a/print.html +++ b/print.html @@ -96,7 +96,7 @@ issue or send a pull request on GitH connection to run the commands in this chapter, as we’ll be downloading Rust from the internet.

We’ll be showing off a number of commands using a terminal, and those lines all -start with $. You don't need to type in the $s; they are there to indicate +start with $. You don't need to type in the $ character; they are there to indicate the start of each command. You’ll see many tutorials and examples around the web that follow this convention: $ for commands run as a regular user, and # for commands you should be running as an administrator. Lines that don't start @@ -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