Skip to content

Commit

Permalink
rollup merge of rust-lang#23767: tshepang/typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Mar 27, 2015
2 parents fbbf02d + ce668a8 commit 7393693
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/doc/trpl/standard-input.md
Original file line number Diff line number Diff line change
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 7393693

Please sign in to comment.