Skip to content

Commit 24c928b

Browse files
committed
Fix number of methods in guessing game
This code was refactored, but the words were not Fixes rust-lang#31284
1 parent 552bf75 commit 24c928b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/book/guessing-game.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ displaying the message.
279279
[expect]: ../std/option/enum.Option.html#method.expect
280280
[panic]: error-handling.html
281281

282-
If we leave off calling these two methods, our program will compile, but
282+
If we leave off calling this method, our program will compile, but
283283
we’ll get a warning:
284284

285285
```bash
@@ -680,7 +680,7 @@ fn main() {
680680
}
681681
```
682682
683-
The new three lines:
683+
The new two lines:
684684
685685
```rust,ignore
686686
let guess: u32 = guess.trim().parse()

0 commit comments

Comments
 (0)