@@ -238,7 +238,7 @@ impl<'a> Context<'a> {
238238 }
239239 /// Returns a reference to the [`LocalWaker`] for the current task.
240240 #[ inline]
241- #[ unstable( feature = "local_waker" , issue = "none " ) ]
241+ #[ unstable( feature = "local_waker" , issue = "118959 " ) ]
242242 #[ rustc_const_unstable( feature = "const_waker" , issue = "102012" ) ]
243243 pub const fn local_waker ( & self ) -> & ' a LocalWaker {
244244 & self . local_waker
@@ -247,7 +247,7 @@ impl<'a> Context<'a> {
247247 /// otherwise it returns `None`.
248248 #[ inline]
249249 #[ rustc_const_unstable( feature = "const_waker" , issue = "102012" ) ]
250- #[ unstable( feature = "local_waker" , issue = "none " ) ]
250+ #[ unstable( feature = "local_waker" , issue = "118959 " ) ]
251251 pub const fn try_waker ( & self ) -> Option < & ' a Waker > {
252252 self . waker
253253 }
@@ -282,7 +282,7 @@ impl fmt::Debug for Context<'_> {
282282/// assert_eq!(poll, Poll::Ready(20));
283283///
284284/// ```
285- #[ unstable( feature = "local_waker" , issue = "none " ) ]
285+ #[ unstable( feature = "local_waker" , issue = "118959 " ) ]
286286#[ derive( Debug ) ]
287287pub struct ContextBuilder < ' a > {
288288 waker : Option < & ' a Waker > ,
@@ -293,7 +293,7 @@ impl<'a> ContextBuilder<'a> {
293293 /// Create a ContextBuilder from a Waker.
294294 #[ inline]
295295 #[ rustc_const_unstable( feature = "const_waker" , issue = "102012" ) ]
296- #[ unstable( feature = "local_waker" , issue = "none " ) ]
296+ #[ unstable( feature = "local_waker" , issue = "118959 " ) ]
297297 pub const fn from_waker ( waker : & ' a Waker ) -> Self {
298298 // SAFETY: LocalWaker is just Waker without thread safety
299299 let local_waker = unsafe { transmute ( waker) } ;
@@ -303,7 +303,7 @@ impl<'a> ContextBuilder<'a> {
303303 /// Create a ContextBuilder from a LocalWaker.
304304 #[ inline]
305305 #[ rustc_const_unstable( feature = "const_waker" , issue = "102012" ) ]
306- #[ unstable( feature = "local_waker" , issue = "none " ) ]
306+ #[ unstable( feature = "local_waker" , issue = "118959 " ) ]
307307 pub const fn from_local_waker ( local_waker : & ' a LocalWaker ) -> Self {
308308 Self { local_waker, waker : None }
309309 }
@@ -312,22 +312,22 @@ impl<'a> ContextBuilder<'a> {
312312
313313 #[ inline]
314314 #[ rustc_const_unstable( feature = "const_waker" , issue = "102012" ) ]
315- #[ unstable( feature = "local_waker" , issue = "none " ) ]
315+ #[ unstable( feature = "local_waker" , issue = "118959 " ) ]
316316 pub const fn waker ( self , waker : & ' a Waker ) -> Self {
317317 Self { waker : Some ( waker) , ..self }
318318 }
319319
320320 /// This method is used to set the value for the local waker on `Context`.
321321 #[ inline]
322- #[ unstable( feature = "local_waker" , issue = "none " ) ]
322+ #[ unstable( feature = "local_waker" , issue = "118959 " ) ]
323323 #[ rustc_const_unstable( feature = "const_waker" , issue = "102012" ) ]
324324 pub const fn local_waker ( self , local_waker : & ' a LocalWaker ) -> Self {
325325 Self { local_waker, ..self }
326326 }
327327
328328 /// Builds the `Context`.
329329 #[ inline]
330- #[ unstable( feature = "local_waker" , issue = "none " ) ]
330+ #[ unstable( feature = "local_waker" , issue = "118959 " ) ]
331331 #[ rustc_const_unstable( feature = "const_waker" , issue = "102012" ) ]
332332 pub const fn build ( self ) -> Context < ' a > {
333333 let ContextBuilder { waker, local_waker } = self ;
@@ -370,7 +370,7 @@ impl<'a> ContextBuilder<'a> {
370370/// with_waker(async { /* ... */ }, &Waker::noop()).await;
371371/// # }
372372/// ```
373- #[ unstable( feature = "local_waker" , issue = "none " ) ]
373+ #[ unstable( feature = "local_waker" , issue = "118959 " ) ]
374374impl < ' a > From < & mut Context < ' a > > for ContextBuilder < ' a > {
375375 #[ inline]
376376 fn from ( value : & mut Context < ' a > ) -> Self {
@@ -623,19 +623,19 @@ impl fmt::Debug for Waker {
623623/// [`Future::poll()`]: core::future::Future::poll
624624/// [`Poll::Pending`]: core::task::Poll::Pending
625625/// [`local_waker`]: core::task::Context::local_waker
626- #[ unstable( feature = "local_waker" , issue = "none " ) ]
626+ #[ unstable( feature = "local_waker" , issue = "118959 " ) ]
627627#[ repr( transparent) ]
628628pub struct LocalWaker {
629629 waker : RawWaker ,
630630}
631631
632- #[ unstable( feature = "local_waker" , issue = "none " ) ]
632+ #[ unstable( feature = "local_waker" , issue = "118959 " ) ]
633633impl Unpin for LocalWaker { }
634634
635635impl LocalWaker {
636636 /// Creates a new `LocalWaker` from [`RawWaker`].
637637 ///
638- /// The behavior of the returned `Waker ` is undefined if the contract defined
638+ /// The behavior of the returned `LocalWaker ` is undefined if the contract defined
639639 /// in [`RawWaker`]'s and [`RawWakerVTable`]'s documentation is not upheld.
640640 /// Therefore this method is unsafe.
641641 #[ inline]
@@ -651,7 +651,7 @@ impl LocalWaker {
651651 /// As long as the executor keeps running and the task is not finished, it is
652652 /// guaranteed that each invocation of [`wake()`](Self::wake) (or
653653 /// [`wake_by_ref()`](Self::wake_by_ref)) will be followed by at least one
654- /// [`poll()`] of the task to which this `Waker ` belongs. This makes
654+ /// [`poll()`] of the task to which this `LocalWaker ` belongs. This makes
655655 /// it possible to temporarily yield to other tasks while running potentially
656656 /// unbounded processing loops.
657657 ///
@@ -749,7 +749,7 @@ impl LocalWaker {
749749 unsafe { ( self . waker . vtable . wake_by_ref ) ( self . waker . data ) }
750750 }
751751}
752- #[ unstable( feature = "local_waker" , issue = "none " ) ]
752+ #[ unstable( feature = "local_waker" , issue = "118959 " ) ]
753753impl Clone for LocalWaker {
754754 #[ inline]
755755 fn clone ( & self ) -> Self {
0 commit comments