7 ms·
The point with weakrefs, though, is that they still require developer intervention. Also, you can use most memory management facilities in Rust (including refe
by m0th87 7y ago
The point with weakrefs, though, is that they still require developer intervention.
Also, you can use most memory management facilities in Rust (including reference counting) without `unsafe`.
- arcticbull 7y agoCorrect, leaks are considered "safe" -- it's premature deallocations that are considered unsafe.