mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2024-11-14 04:41:49 +08:00
9 lines
298 B
Plaintext
9 lines
298 B
Plaintext
$ cargo run
|
|
Compiling cons-list v0.1.0 (file:///projects/cons-list)
|
|
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s
|
|
Running `target/debug/cons-list`
|
|
count after creating a = 1
|
|
count after creating b = 2
|
|
count after creating c = 3
|
|
count after c goes out of scope = 2
|