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:
parent
a4aae4552e
commit
c2b564557d
@ -98,8 +98,8 @@ use std::io;
|
||||
|
||||
We’ll 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 it’s not in the prelude,
|
||||
you’ll have to `use` it directly.
|
||||
by default into every program, [the ‘prelude’][prelude]. If it’s not in the
|
||||
prelude, you’ll have to `use` it directly.
|
||||
|
||||
[prelude]: ../std/prelude/index.html
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user