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

I think you're thinking of Result<(), E>, whereas they're thinking of Result<T, E>, that is, you only get that warning if you don't care about the Ok value of the Result. If you need the value, you also need to deal with the error in some fashion.


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

Search: