diff options
| author | Jonathan Hansford <dangthrimble@hansfords.net> | 2015-07-30 11:58:13 +0100 |
|---|---|---|
| committer | Jonathan Hansford <dangthrimble@hansfords.net> | 2015-07-30 11:58:13 +0100 |
| commit | c2b564557d3c2c4ff8ba530a533da643c29694f6 (patch) | |
| tree | e329844fcfae965f6090ce588778d047f3577d9e | |
| parent | a4aae4552ed15d15683b4f24a02cd31025f9b27e (diff) | |
| download | rust-c2b564557d3c2c4ff8ba530a533da643c29694f6.tar.gz rust-c2b564557d3c2c4ff8ba530a533da643c29694f6.zip | |
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.
| -rw-r--r-- | src/doc/trpl/guessing-game.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/trpl/guessing-game.md b/src/doc/trpl/guessing-game.md index 1784c253f7f..b9063ffaa34 100644 --- a/src/doc/trpl/guessing-game.md +++ b/src/doc/trpl/guessing-game.md @@ -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 |
