diff options
| -rw-r--r-- | library/core/src/cell.rs | 14 | ||||
| -rw-r--r-- | library/core/src/fmt/mod.rs | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/library/core/src/cell.rs b/library/core/src/cell.rs index 8f283a7f43a..2a49017de3c 100644 --- a/library/core/src/cell.rs +++ b/library/core/src/cell.rs @@ -2002,16 +2002,16 @@ impl<T: CoerceUnsized<U>, U> CoerceUnsized<UnsafeCell<U>> for UnsafeCell<T> {} /// making this type just as unsafe to use. /// /// See [`UnsafeCell`] for details. -#[unstable(feature = "sync_unsafe_cell", issue = "none")] +#[unstable(feature = "sync_unsafe_cell", issue = "95439")] #[repr(transparent)] pub struct SyncUnsafeCell<T: ?Sized> { value: UnsafeCell<T>, } -#[unstable(feature = "sync_unsafe_cell", issue = "none")] +#[unstable(feature = "sync_unsafe_cell", issue = "95439")] unsafe impl<T: ?Sized + Sync> Sync for SyncUnsafeCell<T> {} -#[unstable(feature = "sync_unsafe_cell", issue = "none")] +#[unstable(feature = "sync_unsafe_cell", issue = "95439")] impl<T> SyncUnsafeCell<T> { /// Constructs a new instance of `SyncUnsafeCell` which will wrap the specified value. #[inline] @@ -2026,7 +2026,7 @@ impl<T> SyncUnsafeCell<T> { } } -#[unstable(feature = "sync_unsafe_cell", issue = "none")] +#[unstable(feature = "sync_unsafe_cell", issue = "95439")] impl<T: ?Sized> SyncUnsafeCell<T> { /// Gets a mutable pointer to the wrapped value. /// @@ -2060,7 +2060,7 @@ impl<T: ?Sized> SyncUnsafeCell<T> { } } -#[unstable(feature = "sync_unsafe_cell", issue = "none")] +#[unstable(feature = "sync_unsafe_cell", issue = "95439")] impl<T: Default> Default for SyncUnsafeCell<T> { /// Creates an `SyncUnsafeCell`, with the `Default` value for T. fn default() -> SyncUnsafeCell<T> { @@ -2068,7 +2068,7 @@ impl<T: Default> Default for SyncUnsafeCell<T> { } } -#[unstable(feature = "sync_unsafe_cell", issue = "none")] +#[unstable(feature = "sync_unsafe_cell", issue = "95439")] #[rustc_const_unstable(feature = "const_convert", issue = "88674")] impl<T> const From<T> for SyncUnsafeCell<T> { /// Creates a new `SyncUnsafeCell<T>` containing the given value. @@ -2078,7 +2078,7 @@ impl<T> const From<T> for SyncUnsafeCell<T> { } #[unstable(feature = "coerce_unsized", issue = "27732")] -//#[unstable(feature = "sync_unsafe_cell", issue = "none")] +//#[unstable(feature = "sync_unsafe_cell", issue = "95439")] impl<T: CoerceUnsized<U>, U> CoerceUnsized<SyncUnsafeCell<U>> for SyncUnsafeCell<T> {} #[allow(unused)] diff --git a/library/core/src/fmt/mod.rs b/library/core/src/fmt/mod.rs index 19a2140abe8..3e0aea4aca9 100644 --- a/library/core/src/fmt/mod.rs +++ b/library/core/src/fmt/mod.rs @@ -2396,7 +2396,7 @@ impl<T: ?Sized> Debug for UnsafeCell<T> { } } -#[unstable(feature = "sync_unsafe_cell", issue = "none")] +#[unstable(feature = "sync_unsafe_cell", issue = "95439")] impl<T: ?Sized> Debug for SyncUnsafeCell<T> { fn fmt(&self, f: &mut Formatter<'_>) -> Result { f.debug_struct("SyncUnsafeCell").finish_non_exhaustive() |
