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.
8 lines
356 B
8 lines
356 B
$ cargo run
|
|
Compiling cons-list v0.1.0 (file:///projects/cons-list)
|
|
Finished dev [unoptimized + debuginfo] target(s) in 0.63s
|
|
Running `target/debug/cons-list`
|
|
a after = Cons(RefCell { value: 15 }, Nil)
|
|
b after = Cons(RefCell { value: 3 }, Cons(RefCell { value: 15 }, Nil))
|
|
c after = Cons(RefCell { value: 4 }, Cons(RefCell { value: 15 }, Nil))
|