News for hackers. Stuff that matters.
Re:Does the Bronze Garbage Collector Make Rust Easier to Use? by ThomasWinwood on Friday December 24, 2021 @08:58PM (#29679609)
If you really do want to leak memory, Rc<T> is overcomplicated - just call `Box::leak` and throw away the output.
Re:Does the Bronze Garbage Collector Make Rust Easier to Use? by klodolph on Friday December 24, 2021 @09:34PM (#29679815)
Rc<T> is the preferred way to introduce unintentional memory leaks.