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

Unwrap is in a lot of example code.

If you're using Result<T,E>, there's no automatic language feature for statically typing a nested E that mirrors how it was called.

So out of brevity, they unwrap.

Expect to see this sort of error crop up a lot as people use LLMs to vibe with the borrow checker.



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

Search: