mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-02-02 15:28:40 +08:00
Update ch02-00-guessing-game-tutorial.md
Code section was not properly ended. Fixed that section so it ends the code block.
This commit is contained in:
parent
51368ff6df
commit
898024a907
@ -188,6 +188,7 @@ Let’s move forward:
|
|||||||
```rust,ignore
|
```rust,ignore
|
||||||
io::stdin().read_line(&mut guess)
|
io::stdin().read_line(&mut guess)
|
||||||
.expect("Failed to read line");
|
.expect("Failed to read line");
|
||||||
|
```
|
||||||
|
|
||||||
We included the input/output functionality from the standard library with use
|
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
|
std::io; on the first line of the program. We are now calling an associated
|
||||||
|
Loading…
Reference in New Issue
Block a user