mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2024-11-14 04:41:49 +08:00
8 lines
322 B
Plaintext
8 lines
322 B
Plaintext
$ cargo run
|
|
Compiling drop-example v0.1.0 (file:///projects/drop-example)
|
|
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.60s
|
|
Running `target/debug/drop-example`
|
|
CustomSmartPointers created.
|
|
Dropping CustomSmartPointer with data `other stuff`!
|
|
Dropping CustomSmartPointer with data `my stuff`!
|