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

I had the same problem until I realized this: for generics and traits T: A means T implements A and it's actually the same with lifetimes: 'a: 'b means lifetime 'a implements lifetime 'b, which naturally translates to objects with lifetime 'a lives at least as long as 'b.


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

Search: