mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-01-22 23:10:20 +08:00
Merge pull request #248 from itsmontoya/patch-1
Update ch02-00-guessing-game-tutorial.md
This commit is contained in:
commit
3ae744e99a
@ -188,6 +188,7 @@ Let’s move forward:
|
||||
```rust,ignore
|
||||
io::stdin().read_line(&mut guess)
|
||||
.expect("Failed to read line");
|
||||
```
|
||||
|
||||
We included the input/output functionality from the standard library with use
|
||||
std::io; on the first line of the program. We are now calling an associated
|
||||
|
Loading…
Reference in New Issue
Block a user