about summary refs log tree commit diff
path: root/library/alloc/src/sync.rs
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2023-12-21 15:39:15 +0100
committerPietro Albini <pietro@pietroalbini.org>2023-12-22 11:01:42 +0100
commitc00486c9bbfc9fa8f989715ea6cee1e324e2ea00 (patch)
tree19496124d711454a62d31c7d7ce4a289a6b783c8 /library/alloc/src/sync.rs
parentef1b78eabe713a2068a1b0451102853dd2475a7b (diff)
downloadrust-c00486c9bbfc9fa8f989715ea6cee1e324e2ea00.tar.gz
rust-c00486c9bbfc9fa8f989715ea6cee1e324e2ea00.zip
update version placeholders
Diffstat (limited to 'library/alloc/src/sync.rs')
-rw-r--r--library/alloc/src/sync.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/sync.rs b/library/alloc/src/sync.rs
index e2e836bb975..85df491636a 100644
--- a/library/alloc/src/sync.rs
+++ b/library/alloc/src/sync.rs
@@ -2194,7 +2194,7 @@ impl<T: Clone, A: Allocator + Clone> Arc<T, A> {
     /// assert!(ptr::eq(ptr, inner.as_ptr()));
     /// ```
     #[inline]
-    #[stable(feature = "arc_unwrap_or_clone", since = "CURRENT_RUSTC_VERSION")]
+    #[stable(feature = "arc_unwrap_or_clone", since = "1.76.0")]
     pub fn unwrap_or_clone(this: Self) -> T {
         Arc::try_unwrap(this).unwrap_or_else(|arc| (*arc).clone())
     }