rollup merge of #23767: tshepang/typo

This commit is contained in:
Alex Crichton 2015-03-27 10:07:51 -07:00
commit 73936932e7

View File

@ -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");