Y
Hacker News
new
|
ask
|
show
|
jobs
by
ThomasWinwood
1639 days ago
If you really do want to leak memory, Rc<T> is overcomplicated - just call `Box::leak` and throw away the output.
1 comments
klodolph
1639 days ago
Rc<T> is the preferred way to introduce unintentional memory leaks.
link