Rollup merge of #30154 - salty-horse:guessing_panic, r=steveklabnik

The text mentions ```return```, but what's actually happening is a ```panic!```.
This commit is contained in:
Steve Klabnik 2015-12-01 19:01:42 -05:00
commit 9823511b2a

View File

@ -779,7 +779,7 @@ fn main() {
```
And try it out. But wait, didnt we just add an infinite loop? Yup. Remember
our discussion about `parse()`? If we give a non-number answer, well `return`
our discussion about `parse()`? If we give a non-number answer, well `panic!`
and quit. Observe:
```bash