From a3a961f1fced8ef7e7ee2af2c6816e7c39759d01 Mon Sep 17 00:00:00 2001
From: Steve Klabnik This code contains a lot of information, so let’s go over it bit by bit. To
-obtain user input and then print the result as output, we need to import the
-io (input/output) library from the standard library (which is known as std):io (input/output) library into scope. The io library comes from the
+standard library (which is known as std):
use std::io;
-By default, Rust imports only a few types into every program in the
-prelude. If a type you want to use isn’t in the
-prelude, you have to import that type into your program explicitly with a use
+
By default, Rust brings only a few types into the scope of every program in
+the prelude. If a type you want to use isn’t in the
+prelude, you have to bring that type into scope explicitly with a use
statement. Using the std::io library provides you with a number of useful
io-related features, including the functionality to accept user input.
As you saw in Chapter 1, the main function is the entry point into the
diff --git a/print.html b/print.html
index 593a09bf3..1f2bbd68d 100644
--- a/print.html
+++ b/print.html
@@ -519,13 +519,14 @@ fn main() {
This code contains a lot of information, so let’s go over it bit by bit. To
-obtain user input and then print the result as output, we need to import the
-io (input/output) library from the standard library (which is known as std):
io (input/output) library into scope. The io library comes from the
+standard library (which is known as std):
use std::io;
-By default, Rust imports only a few types into every program in the
-prelude. If a type you want to use isn’t in the
-prelude, you have to import that type into your program explicitly with a use
+
By default, Rust brings only a few types into the scope of every program in
+the prelude. If a type you want to use isn’t in the
+prelude, you have to bring that type into scope explicitly with a use
statement. Using the std::io library provides you with a number of useful
io-related features, including the functionality to accept user input.
As you saw in Chapter 1, the main function is the entry point into the