Function mnemos_alloc::heap::deallocate_raw
source · pub unsafe fn deallocate_raw(ptr: NonNull<()>, layout: Layout)Expand description
Deallocate an unsized allocation with the provided Layout.
Safety
ptrmust have been returned by a call toAHeap::allocate_raworHeapGuard::alloc_raw!layoutmust be the sameLayoutthat was provided to the original call toAHeap::allocate_raworHeapGuard::alloc_raw!