trpl-zh-cn/listings/ch18-patterns-and-matching/listing-18-03/output.txt

8 lines
226 B
Plaintext
Raw Normal View History

2022-02-06 16:43:51 +08:00
$ cargo run
Compiling patterns v0.1.0 (file:///projects/patterns)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.52s
2022-02-06 16:43:51 +08:00
Running `target/debug/patterns`
a is at index 0
b is at index 1
c is at index 2