Skip to content

Commit fe4ac95

Browse files
authored
Bump stable version of arc_mutate_strong_count
1 parent a55039d commit fe4ac95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/alloc/src/sync.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ impl<T: ?Sized> Arc<T> {
885885
/// }
886886
/// ```
887887
#[inline]
888-
#[stable(feature = "arc_mutate_strong_count", since = "1.50.0")]
888+
#[stable(feature = "arc_mutate_strong_count", since = "1.51.0")]
889889
pub unsafe fn increment_strong_count(ptr: *const T) {
890890
// Retain Arc, but don't touch refcount by wrapping in ManuallyDrop
891891
let arc = unsafe { mem::ManuallyDrop::new(Arc::<T>::from_raw(ptr)) };
@@ -924,7 +924,7 @@ impl<T: ?Sized> Arc<T> {
924924
/// }
925925
/// ```
926926
#[inline]
927-
#[stable(feature = "arc_mutate_strong_count", since = "1.50.0")]
927+
#[stable(feature = "arc_mutate_strong_count", since = "1.51.0")]
928928
pub unsafe fn decrement_strong_count(ptr: *const T) {
929929
unsafe { mem::drop(Arc::from_raw(ptr)) };
930930
}

0 commit comments

Comments
 (0)