Function slice_n::from_raw_parts_unchecked_mut[][src]

pub unsafe fn from_raw_parts_unchecked_mut<'a, T, const N: usize>(
    data: *mut T,
    len: usize
) -> &'a mut SliceN<T, N>

Forms a SliceN from a mutable pointer and a length, without checking the length.

In addition to the length being too low, this is just as unsafe as core::slice::from_raw_parts.