Skip to content

Commit c2b5645

Browse files
committed
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.
1 parent a4aae45 commit c2b5645

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/trpl/guessing-game.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ use std::io;
9898

9999
We’ll need to take user input, and then print the result as output. As such, we
100100
need the `io` library from the standard library. Rust only imports a few things
101-
into every program, [the ‘prelude’][prelude]. If it’s not in the prelude,
102-
you’ll have to `use` it directly.
101+
by default into every program, [the ‘prelude’][prelude]. If it’s not in the
102+
prelude, you’ll have to `use` it directly.
103103

104104
[prelude]: ../std/prelude/index.html
105105

0 commit comments

Comments
 (0)