@@ -101,7 +101,7 @@ unsafe impl Send for Once {}
101
101
102
102
/// State yielded to the `call_once_force` method which can be used to query
103
103
/// whether the `Once` was previously poisoned or not.
104
- #[ unstable( feature = "once_poison" , issue = "31688 " ) ]
104
+ #[ unstable( feature = "once_poison" , issue = "33577 " ) ]
105
105
pub struct OnceState {
106
106
poisoned : bool ,
107
107
}
@@ -218,7 +218,7 @@ impl Once {
218
218
/// The closure `f` is yielded a structure which can be used to query the
219
219
/// state of this `Once` (whether initialization has previously panicked or
220
220
/// not).
221
- #[ unstable( feature = "once_poison" , issue = "31688 " ) ]
221
+ #[ unstable( feature = "once_poison" , issue = "33577 " ) ]
222
222
pub fn call_once_force < F > ( & ' static self , f : F ) where F : FnOnce ( & OnceState ) {
223
223
// same as above, just with a different parameter to `call_inner`.
224
224
if self . state . load ( Ordering :: SeqCst ) == COMPLETE {
@@ -360,7 +360,7 @@ impl OnceState {
360
360
///
361
361
/// Once an initalization routine for a `Once` has panicked it will forever
362
362
/// indicate to future forced initialization routines that it is poisoned.
363
- #[ unstable( feature = "once_poison" , issue = "31688 " ) ]
363
+ #[ unstable( feature = "once_poison" , issue = "33577 " ) ]
364
364
pub fn poisoned ( & self ) -> bool {
365
365
self . poisoned
366
366
}
0 commit comments