Skip to content

Commit a8ed0bf

Browse files
committed
Rollup merge of #28763 - steveklabnik:gh27917, r=alexcrichton
Fixes #27917
2 parents 66d07d0 + 9812eb0 commit a8ed0bf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/doc/trpl/guessing-game.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,12 @@ use std::io;
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
101101
by default into every program, [the ‘prelude’][prelude]. If it’s not in the
102-
prelude, you’ll have to `use` it directly.
102+
prelude, you’ll have to `use` it directly. There is also a second ‘prelude’, the
103+
[`io` prelude][ioprelude], which serves a similar function: you import it, and it
104+
imports a number of useful, `io`-related things.
103105

104106
[prelude]: ../std/prelude/index.html
107+
[ioprelude]: ../std/io/prelude/index.html
105108

106109
```rust,ignore
107110
fn main() {

0 commit comments

Comments
 (0)