diff --git a/src/doc/book/guessing-game.md b/src/doc/book/guessing-game.md index 0f9bc80af98..8cb00f26ba5 100644 --- a/src/doc/book/guessing-game.md +++ b/src/doc/book/guessing-game.md @@ -779,7 +779,7 @@ fn main() { ``` And try it out. But wait, didn’t we just add an infinite loop? Yup. Remember -our discussion about `parse()`? If we give a non-number answer, we’ll `return` +our discussion about `parse()`? If we give a non-number answer, we’ll `panic!` and quit. Observe: ```bash