unsafe fn vec_uninit<T: Sized>(n: usize) -> Vec<T> {
    let mut v = Vec::with_capacity(n);
    v.set_len(n);
    v
}
/// Create a vector without initialization
///
/// Safety
/// ------
/// - Memory is not initialized. Do not read the memory before write.
///
Create a vector without initialization
Safety

Memory is not initialized. Do not read the memory before write.
Create a vector without initialization Safety Memory is not initialized . Do not read the memory before write .
unsafe fn vec_uninit<T: Sized>(n: usize) -> Vec<T> {
    let mut v = Vec::with_capacity(n);
    v.set_len(n);
    v
}
unsafe fn vec_uninit < T : Sized > ( n : usize ) -> Vec < T > { let mut v = Vec :: with_capacity ( n ) ; v . set_len ( n ) ; v }
Create a vector without initialization
Safety
Create a vector without initialization Safety
n
usize
n
usize