Use correct count of number of panic lines

This commit is contained in:
Michael Hoffmann
2018-06-27 21:32:33 +02:00
parent 4146dc6367
commit 4044cbc8fb

View File

@@ -45,7 +45,7 @@ thread 'main' panicked at 'crash and burn', src/main.rs:2:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.
```
The call to `panic!` causes the error message contained in the last three
The call to `panic!` causes the error message contained in the last two
lines. The first line shows our panic message and the place in our source code
where the panic occurred: *src/main.rs:2:4* indicates that its the second
line, fourth character of our *src/main.rs* file.