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

And in Rust, it will enforce correct usage via the borrow checker - the outlive case simply will not compile.

If you do want it, you have the option to, say, heap allocate.



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

Search: