Y
Hacker News
new
|
ask
|
show
|
jobs
by
steveklabnik
2446 days ago
Yes, to do anything interesting, you need to implement the Drop trait, which causes interesting behavior to happen here.
1 comments
dmix
2446 days ago
An example of the implementation is all that's missing from the blog post.
link
steveklabnik
2446 days ago
https://doc.rust-lang.org/stable/std/ops/trait.Drop.html
link