We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
array::repeat
1 parent 5ddeaca commit dd7c901Copy full SHA for dd7c901
core/src/array/mod.rs
@@ -49,7 +49,7 @@ pub use iter::IntoIter;
49
/// assert_eq!(strings, ["Hello there!", "Hello there!"]);
50
/// ```
51
#[inline]
52
-#[unstable(feature = "array_repeat", issue = "none")]
+#[unstable(feature = "array_repeat", issue = "126695")]
53
pub fn repeat<T: Clone, const N: usize>(val: T) -> [T; N] {
54
from_trusted_iterator(repeat_n(val, N))
55
}
0 commit comments