@@ -72,7 +72,7 @@ use core::task::{Context, Poll};
7272///
7373///
7474/// [`Sync`]: core::marker::Sync
75- #[ unstable( feature = "exclusive_wrapper" , issue = "none " ) ]
75+ #[ unstable( feature = "exclusive_wrapper" , issue = "98407 " ) ]
7676#[ doc( alias = "SyncWrapper" ) ]
7777#[ doc( alias = "SyncCell" ) ]
7878#[ doc( alias = "Unique" ) ]
@@ -86,10 +86,10 @@ pub struct Exclusive<T: ?Sized> {
8686}
8787
8888// See `Exclusive`'s docs for justification.
89- #[ unstable( feature = "exclusive_wrapper" , issue = "none " ) ]
89+ #[ unstable( feature = "exclusive_wrapper" , issue = "98407 " ) ]
9090unsafe impl < T : ?Sized > Sync for Exclusive < T > { }
9191
92- #[ unstable( feature = "exclusive_wrapper" , issue = "none " ) ]
92+ #[ unstable( feature = "exclusive_wrapper" , issue = "98407 " ) ]
9393impl < T : ?Sized > fmt:: Debug for Exclusive < T > {
9494 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> Result < ( ) , fmt:: Error > {
9595 f. debug_struct ( "Exclusive" ) . finish_non_exhaustive ( )
@@ -98,14 +98,14 @@ impl<T: ?Sized> fmt::Debug for Exclusive<T> {
9898
9999impl < T : Sized > Exclusive < T > {
100100 /// Wrap a value in an `Exclusive`
101- #[ unstable( feature = "exclusive_wrapper" , issue = "none " ) ]
101+ #[ unstable( feature = "exclusive_wrapper" , issue = "98407 " ) ]
102102 #[ must_use]
103103 pub const fn new ( t : T ) -> Self {
104104 Self { inner : t }
105105 }
106106
107107 /// Unwrap the value contained in the `Exclusive`
108- #[ unstable( feature = "exclusive_wrapper" , issue = "none " ) ]
108+ #[ unstable( feature = "exclusive_wrapper" , issue = "98407 " ) ]
109109 #[ must_use]
110110 pub const fn into_inner ( self ) -> T {
111111 self . inner
@@ -114,7 +114,7 @@ impl<T: Sized> Exclusive<T> {
114114
115115impl < T : ?Sized > Exclusive < T > {
116116 /// Get exclusive access to the underlying value.
117- #[ unstable( feature = "exclusive_wrapper" , issue = "none " ) ]
117+ #[ unstable( feature = "exclusive_wrapper" , issue = "98407 " ) ]
118118 #[ must_use]
119119 pub const fn get_mut ( & mut self ) -> & mut T {
120120 & mut self . inner
@@ -126,7 +126,7 @@ impl<T: ?Sized> Exclusive<T> {
126126 /// value, which means _unpinned_ `Exclusive`s can produce _unpinned_
127127 /// access to the underlying value, but _pinned_ `Exclusive`s only
128128 /// produce _pinned_ access to the underlying value.
129- #[ unstable( feature = "exclusive_wrapper" , issue = "none " ) ]
129+ #[ unstable( feature = "exclusive_wrapper" , issue = "98407 " ) ]
130130 #[ must_use]
131131 pub const fn get_pin_mut ( self : Pin < & mut Self > ) -> Pin < & mut T > {
132132 // SAFETY: `Exclusive` can only produce `&mut T` if itself is unpinned
@@ -137,7 +137,7 @@ impl<T: ?Sized> Exclusive<T> {
137137 /// Build a _mutable_ references to an `Exclusive<T>` from
138138 /// a _mutable_ reference to a `T`. This allows you to skip
139139 /// building an `Exclusive` with [`Exclusive::new`].
140- #[ unstable( feature = "exclusive_wrapper" , issue = "none " ) ]
140+ #[ unstable( feature = "exclusive_wrapper" , issue = "98407 " ) ]
141141 #[ must_use]
142142 pub const fn from_mut ( r : & ' _ mut T ) -> & ' _ mut Exclusive < T > {
143143 // SAFETY: repr is ≥ C, so refs have the same layout; and `Exclusive` properties are `&mut`-agnostic
@@ -147,7 +147,7 @@ impl<T: ?Sized> Exclusive<T> {
147147 /// Build a _pinned mutable_ references to an `Exclusive<T>` from
148148 /// a _pinned mutable_ reference to a `T`. This allows you to skip
149149 /// building an `Exclusive` with [`Exclusive::new`].
150- #[ unstable( feature = "exclusive_wrapper" , issue = "none " ) ]
150+ #[ unstable( feature = "exclusive_wrapper" , issue = "98407 " ) ]
151151 #[ must_use]
152152 pub const fn from_pin_mut ( r : Pin < & ' _ mut T > ) -> Pin < & ' _ mut Exclusive < T > > {
153153 // SAFETY: `Exclusive` can only produce `&mut T` if itself is unpinned
@@ -156,14 +156,14 @@ impl<T: ?Sized> Exclusive<T> {
156156 }
157157}
158158
159- #[ unstable( feature = "exclusive_wrapper" , issue = "none " ) ]
159+ #[ unstable( feature = "exclusive_wrapper" , issue = "98407 " ) ]
160160impl < T > From < T > for Exclusive < T > {
161161 fn from ( t : T ) -> Self {
162162 Self :: new ( t)
163163 }
164164}
165165
166- #[ unstable( feature = "exclusive_wrapper" , issue = "none " ) ]
166+ #[ unstable( feature = "exclusive_wrapper" , issue = "98407 " ) ]
167167impl < T : Future + ?Sized > Future for Exclusive < T > {
168168 type Output = T :: Output ;
169169
0 commit comments