From 3f9dd9dfa1fb22403968e8ffd6aacdb9a99b2a4a Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Wed, 31 Aug 2016 17:25:23 -0400 Subject: [PATCH] Explain the code we're going to try a bit more before showing it --- src/ch09-01-unrecoverable-errors-with-panic.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ch09-01-unrecoverable-errors-with-panic.md b/src/ch09-01-unrecoverable-errors-with-panic.md index 36f0ac5..ec39361 100644 --- a/src/ch09-01-unrecoverable-errors-with-panic.md +++ b/src/ch09-01-unrecoverable-errors-with-panic.md @@ -31,7 +31,8 @@ message and the place in our source code where the panic occurred: `src/main.rs`, line two. But that only shows us the exact line that called `panic!`. That's not always -useful. Let's modify our example slightly: +useful. Let's modify our example slightly to see what it's like when a `panic!` +call comes from code we call instead of from our code directly: ```rust,should_panic fn main() {