Re:My favorite Rust function
by newacctjhro on Saturday October 12, 2019 @09:54PM
(#21237764)
> Now this might seem like a hack, but it really is not. Most languages would either ask the programmers to explicitly call free() or implicitly call a magic runtime.deallocate() within a complex garbage collector.
The compiler actually implicitly adds drop glue to all dropped variables!
The compiler actually implicitly adds drop glue to all dropped variables!