about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2023-08-21 09:12:15 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2023-08-22 06:57:00 -0400
commitc8522adb9709cc62123fe4e68082abf90cdffc62 (patch)
treeee817e3c7b63f673c6efcb5f040f02dbed38937e /library/alloc/src
parent95305899b8493a65065ebdeae44e841d243621eb (diff)
downloadrust-c8522adb9709cc62123fe4e68082abf90cdffc62.tar.gz
rust-c8522adb9709cc62123fe4e68082abf90cdffc62.zip
Replace version placeholders with 1.73.0
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/rc.rs2
-rw-r--r--library/alloc/src/sync.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/src/rc.rs b/library/alloc/src/rc.rs
index afed3fdf745..c485680f92e 100644
--- a/library/alloc/src/rc.rs
+++ b/library/alloc/src/rc.rs
@@ -2719,7 +2719,7 @@ impl<T> Weak<T> {
     /// ```
     #[inline]
     #[stable(feature = "downgraded_weak", since = "1.10.0")]
-    #[rustc_const_stable(feature = "const_weak_new", since = "CURRENT_RUSTC_VERSION")]
+    #[rustc_const_stable(feature = "const_weak_new", since = "1.73.0")]
     #[must_use]
     pub const fn new() -> Weak<T> {
         Weak {
diff --git a/library/alloc/src/sync.rs b/library/alloc/src/sync.rs
index 476a4fea54f..d3b7558440c 100644
--- a/library/alloc/src/sync.rs
+++ b/library/alloc/src/sync.rs
@@ -2501,7 +2501,7 @@ impl<T> Weak<T> {
     /// ```
     #[inline]
     #[stable(feature = "downgraded_weak", since = "1.10.0")]
-    #[rustc_const_stable(feature = "const_weak_new", since = "CURRENT_RUSTC_VERSION")]
+    #[rustc_const_stable(feature = "const_weak_new", since = "1.73.0")]
     #[must_use]
     pub const fn new() -> Weak<T> {
         Weak {