What std::mem::forget Actually Does to Heap Allocations
DEV Community
What std::mem::forget Actually Does to Heap Allocations
Rust guarantees memory safety, not resource freedom. Calling std::mem::forget suppresses destructor...
0 comments
No comments yet.