@@ -2002,16 +2002,16 @@ impl<T: CoerceUnsized<U>, U> CoerceUnsized<UnsafeCell<U>> for UnsafeCell<T> {}
2002
2002
/// making this type just as unsafe to use.
2003
2003
///
2004
2004
/// See [`UnsafeCell`] for details.
2005
- #[ unstable( feature = "sync_unsafe_cell" , issue = "none " ) ]
2005
+ #[ unstable( feature = "sync_unsafe_cell" , issue = "95439 " ) ]
2006
2006
#[ repr( transparent) ]
2007
2007
pub struct SyncUnsafeCell < T : ?Sized > {
2008
2008
value : UnsafeCell < T > ,
2009
2009
}
2010
2010
2011
- #[ unstable( feature = "sync_unsafe_cell" , issue = "none " ) ]
2011
+ #[ unstable( feature = "sync_unsafe_cell" , issue = "95439 " ) ]
2012
2012
unsafe impl < T : ?Sized + Sync > Sync for SyncUnsafeCell < T > { }
2013
2013
2014
- #[ unstable( feature = "sync_unsafe_cell" , issue = "none " ) ]
2014
+ #[ unstable( feature = "sync_unsafe_cell" , issue = "95439 " ) ]
2015
2015
impl < T > SyncUnsafeCell < T > {
2016
2016
/// Constructs a new instance of `SyncUnsafeCell` which will wrap the specified value.
2017
2017
#[ inline]
@@ -2026,7 +2026,7 @@ impl<T> SyncUnsafeCell<T> {
2026
2026
}
2027
2027
}
2028
2028
2029
- #[ unstable( feature = "sync_unsafe_cell" , issue = "none " ) ]
2029
+ #[ unstable( feature = "sync_unsafe_cell" , issue = "95439 " ) ]
2030
2030
impl < T : ?Sized > SyncUnsafeCell < T > {
2031
2031
/// Gets a mutable pointer to the wrapped value.
2032
2032
///
@@ -2060,15 +2060,15 @@ impl<T: ?Sized> SyncUnsafeCell<T> {
2060
2060
}
2061
2061
}
2062
2062
2063
- #[ unstable( feature = "sync_unsafe_cell" , issue = "none " ) ]
2063
+ #[ unstable( feature = "sync_unsafe_cell" , issue = "95439 " ) ]
2064
2064
impl < T : Default > Default for SyncUnsafeCell < T > {
2065
2065
/// Creates an `SyncUnsafeCell`, with the `Default` value for T.
2066
2066
fn default ( ) -> SyncUnsafeCell < T > {
2067
2067
SyncUnsafeCell :: new ( Default :: default ( ) )
2068
2068
}
2069
2069
}
2070
2070
2071
- #[ unstable( feature = "sync_unsafe_cell" , issue = "none " ) ]
2071
+ #[ unstable( feature = "sync_unsafe_cell" , issue = "95439 " ) ]
2072
2072
#[ rustc_const_unstable( feature = "const_convert" , issue = "88674" ) ]
2073
2073
impl < T > const From < T > for SyncUnsafeCell < T > {
2074
2074
/// Creates a new `SyncUnsafeCell<T>` containing the given value.
@@ -2078,7 +2078,7 @@ impl<T> const From<T> for SyncUnsafeCell<T> {
2078
2078
}
2079
2079
2080
2080
#[ unstable( feature = "coerce_unsized" , issue = "27732" ) ]
2081
- //#[unstable(feature = "sync_unsafe_cell", issue = "none ")]
2081
+ //#[unstable(feature = "sync_unsafe_cell", issue = "95439 ")]
2082
2082
impl < T : CoerceUnsized < U > , U > CoerceUnsized < SyncUnsafeCell < U > > for SyncUnsafeCell < T > { }
2083
2083
2084
2084
#[ allow( unused) ]
0 commit comments