You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The difference of transmute and transmute! is a single character, but one function requires unsafe the other doesn't. I find it not uncommon from a quick scan over where I could use this crate to still have transmute for other reasons in scope.
I wonder if the names checked_transmute! or safe_transmute! wouldn't be better names to make this clearer when reviewing code.
The text was updated successfully, but these errors were encountered:
The difference of
transmute
andtransmute!
is a single character, but one function requires unsafe the other doesn't. I find it not uncommon from a quick scan over where I could use this crate to still havetransmute
for other reasons in scope.I wonder if the names
checked_transmute!
orsafe_transmute!
wouldn't be better names to make this clearer when reviewing code.The text was updated successfully, but these errors were encountered: