Function opaque_pointer::free
pub unsafe fn free<T>(pointer: *mut T)
👎Deprecated since 0.7.2: Use own_back<T>() instead, it’ll be removed at version 0.9.0
Expand description
Call to own_back<T>()
ignoring the result.
This is deprecated and will be removed in the version 0.9.0 then you can do this:
std::mem::drop(unsafe { opaque_pointer::own_back(pointer) });
§Safety
See own_back<T>()
reference doc.