Function opaque_pointer::free[]

pub unsafe fn free<T>(pointer: *mut T)
👎 Deprecated since 0.7.2:

Use own_back<T>() instead

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.