Skip to content

Commit e0067f9

Browse files
docs: correct guessing game to mention old_io module instead of io
The text is referring to the io module despite the code using the old_io module.
1 parent 2299235 commit e0067f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/guessing-game.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ fn main() {
9191
```
9292

9393
You've seen this code before, when we talked about standard input. We
94-
import the `std::io` module with `use`, and then our `main` function contains
94+
import the `std::old_io` module with `use`, and then our `main` function contains
9595
our program's logic. We print a little message announcing the game, ask the
9696
user to input a guess, get their input, and then print it out.
9797

0 commit comments

Comments
 (0)