Fix number of methods in guessing game

This code was refactored, but the words were not

Fixes #31284
This commit is contained in:
Steve Klabnik 2016-01-29 17:45:03 -05:00
parent 552bf75e7d
commit 24c928b99a

View File

@ -279,7 +279,7 @@ displaying the message.
[expect]: ../std/option/enum.Option.html#method.expect
[panic]: error-handling.html
If we leave off calling these two methods, our program will compile, but
If we leave off calling this method, our program will compile, but
well get a warning:
```bash
@ -680,7 +680,7 @@ fn main() {
}
```
The new three lines:
The new two lines:
```rust,ignore
let guess: u32 = guess.trim().parse()