diff --git a/src/error/panic.md b/src/error/panic.md index 5524dbf6f2..8e3f101090 100644 --- a/src/error/panic.md +++ b/src/error/panic.md @@ -15,5 +15,8 @@ fn drink(beverage: &str) { fn main() { drink("water"); drink("lemonade"); + drink("still water"); } ``` + +The first call to `drink` works. The second panics and thus the third is never called.