Function finish_grow

Source
fn finish_grow<A>(
    new_layout: Layout,
    current_memory: Option<(NonNull<u8>, Layout)>,
    alloc: &mut A,
) -> Result<NonNull<[u8]>, TryReserveError>
where A: Allocator,
🔬This is a nightly-only experimental API. (raw_vec_internals)