Skip to content

Commit b9d1e76

Browse files
committed
update tracking issue for once_poison
The tracking issue for once_poison was noted as #31688 which was closed, so it now points to the new #33577.
1 parent 179539f commit b9d1e76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libstd/sync/once.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ unsafe impl Send for Once {}
101101

102102
/// State yielded to the `call_once_force` method which can be used to query
103103
/// whether the `Once` was previously poisoned or not.
104-
#[unstable(feature = "once_poison", issue = "31688")]
104+
#[unstable(feature = "once_poison", issue = "33577")]
105105
pub struct OnceState {
106106
poisoned: bool,
107107
}
@@ -218,7 +218,7 @@ impl Once {
218218
/// The closure `f` is yielded a structure which can be used to query the
219219
/// state of this `Once` (whether initialization has previously panicked or
220220
/// not).
221-
#[unstable(feature = "once_poison", issue = "31688")]
221+
#[unstable(feature = "once_poison", issue = "33577")]
222222
pub fn call_once_force<F>(&'static self, f: F) where F: FnOnce(&OnceState) {
223223
// same as above, just with a different parameter to `call_inner`.
224224
if self.state.load(Ordering::SeqCst) == COMPLETE {
@@ -360,7 +360,7 @@ impl OnceState {
360360
///
361361
/// Once an initalization routine for a `Once` has panicked it will forever
362362
/// indicate to future forced initialization routines that it is poisoned.
363-
#[unstable(feature = "once_poison", issue = "31688")]
363+
#[unstable(feature = "once_poison", issue = "33577")]
364364
pub fn poisoned(&self) -> bool {
365365
self.poisoned
366366
}

0 commit comments

Comments
 (0)