book: Change mention of unused return to panic!
This commit is contained in:
parent
eb1d018c01
commit
fa0009136d
1 changed files with 1 additions and 1 deletions
|
|
@ -775,7 +775,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue