about summary refs log tree commit diff
path: root/library/core/src/array
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-09-01 05:54:20 +0000
committerGitHub <noreply@github.com>2025-09-01 05:54:20 +0000
commite8626a3c511e3c9b005ddae9357cafe15ed4ccc0 (patch)
tree3e0ff00030a6ba4eb98ee0691ba8f61a51c05b95 /library/core/src/array
parent1f0216e53e1ace663c7f3275441266b62cb0a03f (diff)
parent4cc7ccaf9812c1ba9606528345ce5a6a4060ca6c (diff)
downloadrust-e8626a3c511e3c9b005ddae9357cafe15ed4ccc0.tar.gz
rust-e8626a3c511e3c9b005ddae9357cafe15ed4ccc0.zip
Merge pull request #4553 from rust-lang/rustup-2025-09-01
Automatic Rustup
Diffstat (limited to 'library/core/src/array')
-rw-r--r--library/core/src/array/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/library/core/src/array/mod.rs b/library/core/src/array/mod.rs
index 835ee57ce23..c4bb5ab7b21 100644
--- a/library/core/src/array/mod.rs
+++ b/library/core/src/array/mod.rs
@@ -41,8 +41,6 @@ pub use iter::IntoIter;
 ///
 /// Creating multiple copies of a `String`:
 /// ```rust
-/// #![feature(array_repeat)]
-///
 /// use std::array;
 ///
 /// let string = "Hello there!".to_string();
@@ -50,7 +48,7 @@ pub use iter::IntoIter;
 /// assert_eq!(strings, ["Hello there!", "Hello there!"]);
 /// ```
 #[inline]
-#[unstable(feature = "array_repeat", issue = "126695")]
+#[stable(feature = "array_repeat", since = "CURRENT_RUSTC_VERSION")]
 pub fn repeat<T: Clone, const N: usize>(val: T) -> [T; N] {
     from_trusted_iterator(repeat_n(val, N))
 }