Hacker News new | ask | show | jobs
by the_mitsuhiko 2803 days ago
The most obvious ways to leak are calling `Box::leak` which is also a very useful API and `mem::forget` (the latter is mostly useful for working with unsafe code).