From b2929bf71ca572ad5f80fe625fce9fffc3c43226 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Thu, 1 Sep 2016 10:14:39 -0400 Subject: [PATCH] Use bash syntax highlighting for console output --- src/ch09-02-recoverable-errors-with-result.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch09-02-recoverable-errors-with-result.md b/src/ch09-02-recoverable-errors-with-result.md index 1f7b256f0..0bc673b41 100644 --- a/src/ch09-02-recoverable-errors-with-result.md +++ b/src/ch09-02-recoverable-errors-with-result.md @@ -62,7 +62,7 @@ we have to decide what to do with it. The simplest thing is to turn our error into a `panic!` instead, by calling the macro. And since we haven't created that file yet, we'll see it in the error message: -```text +```bash thread 'main' panicked at 'There was a problem opening the file: Error { repr: Os { code: 2, message: "No such file or directory" } }', src/main.rs:8 ```