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