@@ -2002,16 +2002,16 @@ impl<T: CoerceUnsized<U>, U> CoerceUnsized<UnsafeCell<U>> for UnsafeCell<T> {}
20022002/// making this type just as unsafe to use.
20032003///
20042004/// See [`UnsafeCell`] for details.
2005- #[ unstable( feature = "sync_unsafe_cell" , issue = "none " ) ]
2005+ #[ unstable( feature = "sync_unsafe_cell" , issue = "95439 " ) ]
20062006#[ repr( transparent) ]
20072007pub struct SyncUnsafeCell < T : ?Sized > {
20082008 value : UnsafeCell < T > ,
20092009}
20102010
2011- #[ unstable( feature = "sync_unsafe_cell" , issue = "none " ) ]
2011+ #[ unstable( feature = "sync_unsafe_cell" , issue = "95439 " ) ]
20122012unsafe impl < T : ?Sized + Sync > Sync for SyncUnsafeCell < T > { }
20132013
2014- #[ unstable( feature = "sync_unsafe_cell" , issue = "none " ) ]
2014+ #[ unstable( feature = "sync_unsafe_cell" , issue = "95439 " ) ]
20152015impl < T > SyncUnsafeCell < T > {
20162016 /// Constructs a new instance of `SyncUnsafeCell` which will wrap the specified value.
20172017 #[ inline]
@@ -2026,7 +2026,7 @@ impl<T> SyncUnsafeCell<T> {
20262026 }
20272027}
20282028
2029- #[ unstable( feature = "sync_unsafe_cell" , issue = "none " ) ]
2029+ #[ unstable( feature = "sync_unsafe_cell" , issue = "95439 " ) ]
20302030impl < T : ?Sized > SyncUnsafeCell < T > {
20312031 /// Gets a mutable pointer to the wrapped value.
20322032 ///
@@ -2060,15 +2060,15 @@ impl<T: ?Sized> SyncUnsafeCell<T> {
20602060 }
20612061}
20622062
2063- #[ unstable( feature = "sync_unsafe_cell" , issue = "none " ) ]
2063+ #[ unstable( feature = "sync_unsafe_cell" , issue = "95439 " ) ]
20642064impl < T : Default > Default for SyncUnsafeCell < T > {
20652065 /// Creates an `SyncUnsafeCell`, with the `Default` value for T.
20662066 fn default ( ) -> SyncUnsafeCell < T > {
20672067 SyncUnsafeCell :: new ( Default :: default ( ) )
20682068 }
20692069}
20702070
2071- #[ unstable( feature = "sync_unsafe_cell" , issue = "none " ) ]
2071+ #[ unstable( feature = "sync_unsafe_cell" , issue = "95439 " ) ]
20722072#[ rustc_const_unstable( feature = "const_convert" , issue = "88674" ) ]
20732073impl < T > const From < T > for SyncUnsafeCell < T > {
20742074 /// Creates a new `SyncUnsafeCell<T>` containing the given value.
@@ -2078,7 +2078,7 @@ impl<T> const From<T> for SyncUnsafeCell<T> {
20782078}
20792079
20802080#[ unstable( feature = "coerce_unsized" , issue = "27732" ) ]
2081- //#[unstable(feature = "sync_unsafe_cell", issue = "none ")]
2081+ //#[unstable(feature = "sync_unsafe_cell", issue = "95439 ")]
20822082impl < T : CoerceUnsized < U > , U > CoerceUnsized < SyncUnsafeCell < U > > for SyncUnsafeCell < T > { }
20832083
20842084#[ allow( unused) ]
0 commit comments