By default

Guessing Game states that "Rust only imports a few things into every
program, the ‘prelude’". That isn't strictly true.  That is all it
imports by default and the change clarifies that point.
This commit is contained in:
Jonathan Hansford 2015-07-30 11:58:13 +01:00
parent a4aae4552e
commit c2b564557d

View File

@ -98,8 +98,8 @@ use std::io;
Well need to take user input, and then print the result as output. As such, we
need the `io` library from the standard library. Rust only imports a few things
into every program, [the prelude][prelude]. If its not in the prelude,
youll have to `use` it directly.
by default into every program, [the prelude][prelude]. If its not in the
prelude, youll have to `use` it directly.
[prelude]: ../std/prelude/index.html