-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core
lacks a stable version of transmute
#59573
Comments
It's there, it's just a reexport of the intrinsic: https://doc.rust-lang.org/core/mem/index.html#reexports |
(which is stable, so I don't know what you're referring to) |
Oh, well then the docs are messed up because if you search for |
On the Discord I was referred to this PR: #57848 but that's from back in January, so it's confusing why the search still doesn't work right |
@Lokathor I see (Note that the search index is defined in a |
alright, just some confusion then |
We obviously have
std::mem::transmute
, but forcore
we only havecore::intrinsics::transmute
: unstable / feature gatedcore::mem::transmute_copy
: which is actually more dangerous thantransmute
because it's missing the "before and after have the same size" check.So can we get
core::mem::transmute
?The text was updated successfully, but these errors were encountered: