core: add tracking issue for array::repeat
This commit is contained in:
parent
1a8b0d7c53
commit
e1aacea74d
@ -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))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user