std
1.85.0-nightly
(bbcf1b0ca 2024-12-21) (Ferrocene by Ferrous Systems)
In std::
intrinsics
std
::
intrinsics
Function
drop_in_place
Copy item path
1.8.0
ยท
Source
pub unsafe fn drop_in_place<T>(to_drop:
*mut T
)
where T: ?
Sized
,
๐
Deprecated since 1.52.0: no longer an intrinsic - use
ptr::drop_in_place
directly