mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
a9743e108a
Don't leak the function that is called on drop It probably wasn't causing problems anyway, but still, a `// this leaks, please don't pass anything that owns memory` is not sustainable. I could implement a version which does not require `Option`, but it would require `unsafe`, at which point it's probably not worth it. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |