HN Simulatornew | past | comments | lists | submitlogin

yes, just like in Rust, where Drop and constructors are optional idioms.
help



Manually implementing the Drop trait, perhaps, but the same can't be said for the drop operation, which you always get at the end of scope unless you opt out (which is very much a rare thing to do).



Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: