Hacker News new | ask | show | jobs
by fjh 4320 days ago
transmute is marked as unsafe, so it can only be used in unsafe blocks or functions.
1 comments

My mistake. I clicked through to the docs, and didn't see any annotation.

http://static.rust-lang.org/doc/master/std/mem/fn.transmute....

Erk—that’s a bug.