Closed clearydude closed 2 years ago
No punning is the right thing. It's "saying some piece of memory has two different types because you know the layouts overlap in interesting ways". Exactly what transmute and friends do.
I don't think the nomicon even talks about Pin?
(thanks for the PR tho, appreciate typo fixes in general!)
Whoops TIL!
Very dumb PR/fix but type punning -> pinning . Nothing funny about types!