trpl-zh-cn/listings/ch12-an-io-project/listing-12-07/output.txt

8 lines
353 B
Plaintext
Raw Normal View History

2022-02-06 16:43:51 +08:00
$ cargo run
Compiling minigrep v0.1.0 (file:///projects/minigrep)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.0s
2022-02-06 16:43:51 +08:00
Running `target/debug/minigrep`
thread 'main' panicked at src/main.rs:27:21:
index out of bounds: the len is 1 but the index is 1
2022-02-06 16:43:51 +08:00
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace