core: add tracking issue for array::repeat

This commit is contained in:
joboet 2024-06-19 17:48:00 +02:00
parent 1a8b0d7c53
commit e1aacea74d
No known key found for this signature in database
GPG Key ID: 704E0149B0194B3C

View File

@ -49,7 +49,7 @@
/// assert_eq!(strings, ["Hello there!", "Hello there!"]);
/// ```
#[inline]
#[unstable(feature = "array_repeat", issue = "none")]
#[unstable(feature = "array_repeat", issue = "126695")]
pub fn repeat<T: Clone, const N: usize>(val: T) -> [T; N] {
from_trusted_iterator(repeat_n(val, N))
}