Hacker News new | ask | show | jobs
by nine_k 2197 days ago
Well, T can be a pointer / reference here.
1 comments

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;"