Add tracking issue for array_assume_init

This commit is contained in:
CoffeeBlend 2021-01-11 10:07:29 +01:00
parent 72a3dee16f
commit dec8c033a3
No known key found for this signature in database
GPG Key ID: 704E0149B0194B3C

View File

@ -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