mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 20:14:32 -06:00
Use bash syntax highlighting for console output
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user