3 ms·
When I’m back at my computer I’m going to reply in thread, ha. It’s very strange to see something you’ve written being presented as authoritatively saying somet
by steveklabnik 4y ago
When I’m back at my computer I’m going to reply in thread, ha. It’s very strange to see something you’ve written being presented as authoritatively saying something you didn’t say!
(And it’s more than those two things, but you’re still right in general that unsafe adds, it does not remove.)
- puffoflogic 4y agoI'm trying to think what "more" is. I guess I missed inline asm, although I'd probably lump it in with "external function". Static mut, technically, but I don't really consider those part of the current rust language; a historical accident which should be read as `UnsafeCell`. Therefore I'm going to lump that in with unsafe functions too, albeit an invisible one. ETA: I found your lwn comment. I forgot entirely about unsafe traits and I would say those are entirely different from my two categories. So, three things.