Skip to content

Commit

Permalink
book: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tshepang committed Mar 26, 2015
1 parent 199bdcf commit ce668a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/doc/trpl/standard-input.md
Expand Up @@ -5,7 +5,8 @@ we haven't seen before. Here's a simple program that reads some input,
and then prints it back out:

```{rust,ignore}
corefn main() {
# #![feature(old_io)]
fn main() {
println!("Type something!");
let input = std::old_io::stdin().read_line().ok().expect("Failed to read line");
Expand Down

0 comments on commit ce668a8

Please sign in to comment.