Y
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
ch
4320 days ago
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....
link
chrismorgan
4320 days ago
Erk—that’s a bug.
link
http://static.rust-lang.org/doc/master/std/mem/fn.transmute....