mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 21:51:17 -06:00
rebuild pages at f845250
This commit is contained in:
@@ -143,7 +143,7 @@ fn main() {
|
||||
<p>We’ll need to take user input and then print the result as output, and for that
|
||||
functionality we need to import the <code>io</code> (input/output) library from the
|
||||
standard library (which is known as <code>std</code>).</p>
|
||||
<p>By default, Rust only imports a few things into every program in <a href="../std/prelude/index.html">the
|
||||
<p>By default, Rust only imports a few things into every program in <a href="https://doc.rust-lang.org/std/prelude/">the
|
||||
<em>prelude</em></a>. If it’s not in the prelude, you’ll have to import it into
|
||||
your program explicitly with a <code>use</code> statement. Using the <code>std::io</code> library
|
||||
gets you a number of useful <code>io</code>-related things, including the functionality to
|
||||
|
||||
+1
-1
@@ -517,7 +517,7 @@ fn main() {
|
||||
<p>We’ll need to take user input and then print the result as output, and for that
|
||||
functionality we need to import the <code>io</code> (input/output) library from the
|
||||
standard library (which is known as <code>std</code>).</p>
|
||||
<p>By default, Rust only imports a few things into every program in <a href="../std/prelude/index.html">the
|
||||
<p>By default, Rust only imports a few things into every program in <a href="https://doc.rust-lang.org/std/prelude/">the
|
||||
<em>prelude</em></a>. If it’s not in the prelude, you’ll have to import it into
|
||||
your program explicitly with a <code>use</code> statement. Using the <code>std::io</code> library
|
||||
gets you a number of useful <code>io</code>-related things, including the functionality to
|
||||
|
||||
Reference in New Issue
Block a user