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

Well, T can be a pointer / reference here.


That wouldn't change anything to Result<T>'s implicit safety properties. "safe + unsafe == unsafe" - to have a meaningful discussion we should focus on the safe part, else it's always possible to bring up the argument of "but you can do ((char*)&whatever)[123] = 0x66;"




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

Search: