book: Change mention of unused return
to panic!
This commit is contained in:
parent
eb1d018c01
commit
fa0009136d
@ -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…
Reference in New Issue
Block a user