mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2024-11-14 04:41:49 +08:00
7 lines
345 B
Plaintext
Executable File
7 lines
345 B
Plaintext
Executable File
$ cargo run
|
|
Compiling minigrep v0.1.0 (file:///projects/minigrep)
|
|
Finished dev [unoptimized + debuginfo] target(s) in 0.0s
|
|
Running `target/debug/minigrep`
|
|
thread 'main' panicked at 'index out of bounds: the len is 1 but the index is 1', src/main.rs:27:21
|
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|