mirror of https://github.com/KaiserY/trpl-zh-cn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
288 B
9 lines
288 B
3 years ago
|
$ cargo run
|
||
|
Compiling cons-list v0.1.0 (file:///projects/cons-list)
|
||
|
Finished dev [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
|