Function haz_alloc_core::realloc[][src]

pub unsafe fn realloc(ptr: *mut u8, layout: Layout) -> *mut u8
Expand description

Safety

Layout and pointer must be valid.

Alignment must match of original allocation.