Skip to content

Commit ce668a8

Browse files
committed
book: fix typo
1 parent 199bdcf commit ce668a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/doc/trpl/standard-input.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ we haven't seen before. Here's a simple program that reads some input,
55
and then prints it back out:
66

77
```{rust,ignore}
8-
corefn main() {
8+
# #![feature(old_io)]
9+
fn main() {
910
println!("Type something!");
1011
1112
let input = std::old_io::stdin().read_line().ok().expect("Failed to read line");

0 commit comments

Comments
 (0)