Open bjoernager opened 1 day ago
Feature gate: #![feature(const_array_each_ref)]
#![feature(const_array_each_ref)]
This is a tracking issue for supporting the each_ref and each_mut methods in [T; N] in constant expressions.
each_ref
each_mut
[T; N]
impl<T, const N: usize> [T; N] { pub const fn each_ref(&self) -> [&T; N]; pub const fn each_mut(&mut self) -> [&mut T; N]; }
Feature gate:
#![feature(const_array_each_ref)]
This is a tracking issue for supporting the
each_ref
andeach_mut
methods in[T; N]
in constant expressions.Public API
Unresolved Questions