book: fix typo
This commit is contained in:
parent
199bdcfeff
commit
ce668a873e
1 changed files with 2 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue