File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -885,7 +885,7 @@ impl<T: ?Sized> Arc<T> {
885
885
/// }
886
886
/// ```
887
887
#[ inline]
888
- #[ stable( feature = "arc_mutate_strong_count" , since = "1.50 .0" ) ]
888
+ #[ stable( feature = "arc_mutate_strong_count" , since = "1.51 .0" ) ]
889
889
pub unsafe fn increment_strong_count ( ptr : * const T ) {
890
890
// Retain Arc, but don't touch refcount by wrapping in ManuallyDrop
891
891
let arc = unsafe { mem:: ManuallyDrop :: new ( Arc :: < T > :: from_raw ( ptr) ) } ;
@@ -924,7 +924,7 @@ impl<T: ?Sized> Arc<T> {
924
924
/// }
925
925
/// ```
926
926
#[ inline]
927
- #[ stable( feature = "arc_mutate_strong_count" , since = "1.50 .0" ) ]
927
+ #[ stable( feature = "arc_mutate_strong_count" , since = "1.51 .0" ) ]
928
928
pub unsafe fn decrement_strong_count ( ptr : * const T ) {
929
929
unsafe { mem:: drop ( Arc :: from_raw ( ptr) ) } ;
930
930
}
You can’t perform that action at this time.
0 commit comments