Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, but it’s more subtle than that. What Rust does is track when the object goes out of scope, and will make sure that any closures that reference it live for a shorter time than that. Sort of backwards of what you’re asking.


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

Search: