Home
last modified time | relevance | path

Searched refs:raw_ary (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/rust/alloc/vec/
H A Dinto_iter.rs243 let mut raw_ary = MaybeUninit::uninit_array(); localVariable
251 return Err(unsafe { array::IntoIter::new_unchecked(raw_ary, 0..len) });
256 return Ok(unsafe { raw_ary.transpose().assume_init() });
263 ptr::copy_nonoverlapping(self.ptr, raw_ary.as_mut_ptr() as *mut T, len);
265 return Err(array::IntoIter::new_unchecked(raw_ary, 0..len));
272 ptr::copy_nonoverlapping(self.ptr, raw_ary.as_mut_ptr() as *mut T, N);
274 Ok(raw_ary.transpose().assume_init())