pub(crate) unsafe fn deallocate<T>(ptr: *mut T, capacity: usize)