Add tracking issue for array_assume_init
This commit is contained in:
parent
72a3dee16f
commit
dec8c033a3
@ -830,7 +830,7 @@ pub unsafe fn assume_init_drop(&mut self) {
|
||||
///
|
||||
/// assert_eq!(array, [0, 1, 2]);
|
||||
/// ```
|
||||
#[unstable(feature = "maybe_uninit_array_assume_init", issue = "none")]
|
||||
#[unstable(feature = "maybe_uninit_array_assume_init", issue = "80908")]
|
||||
#[inline(always)]
|
||||
pub unsafe fn array_assume_init<const N: usize>(array: [Self; N]) -> [T; N] {
|
||||
// Convert using a union because mem::transmute does not support const_generics
|
||||
|
Loading…
Reference in New Issue
Block a user