Can someone explain to me how `Box::from_raw` and `Box::into_raw` are able to work with unsized types? Aren't we 100% for sure loosing the size/vtable? /cc @Gankro
-
-
Elegant
-
No but seriously there is absolutely no way Box::into_raw could be used on an insized type without leaking memory or causing UB (most likely the latter because nothing complains at all about this or gives any indication you are shooting yourself in the foot)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.