diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-09-30 14:51:55 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-09-30 14:51:55 -0400 |
| commit | a8ed0bfcaa702ad41bc82d973f7eab1c8fe11b88 (patch) | |
| tree | 34f2ddca69ac089126ee56e5e8b7ad24c6aebb72 /src | |
| parent | 66d07d0d3f0091ec46a8dfff37737ff807b202d4 (diff) | |
| parent | 9812eb0ef4f1dedd6f25a2c63f755b683b6ce787 (diff) | |
| download | rust-a8ed0bfcaa702ad41bc82d973f7eab1c8fe11b88.tar.gz rust-a8ed0bfcaa702ad41bc82d973f7eab1c8fe11b88.zip | |
Rollup merge of #28763 - steveklabnik:gh27917, r=alexcrichton
Fixes #27917
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/guessing-game.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/doc/trpl/guessing-game.md b/src/doc/trpl/guessing-game.md index 94280aa4a33..db484a28cb0 100644 --- a/src/doc/trpl/guessing-game.md +++ b/src/doc/trpl/guessing-game.md @@ -99,9 +99,12 @@ 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 by default into every program, [the ‘prelude’][prelude]. If it’s not in the -prelude, you’ll have to `use` it directly. +prelude, you’ll have to `use` it directly. There is also a second ‘prelude’, the +[`io` prelude][ioprelude], which serves a similar function: you import it, and it +imports a number of useful, `io`-related things. [prelude]: ../std/prelude/index.html +[ioprelude]: ../std/io/prelude/index.html ```rust,ignore fn main() { |
