core::intrinsics

Function drop_in_place

1.8.0 ยท source
pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T)
๐Ÿ‘ŽDeprecated since 1.52.0: no longer an intrinsic - use ptr::drop_in_place directly