Fix tracking issue for Once::is_completed
This commit is contained in:
parent
13429136b8
commit
9a9894a8f1
@ -329,7 +329,7 @@ impl Once {
|
||||
/// assert!(handle.join().is_err());
|
||||
/// assert_eq!(INIT.is_completed(), false);
|
||||
/// ```
|
||||
#[unstable(feature = "once_is_completed", issue = "42")]
|
||||
#[unstable(feature = "once_is_completed", issue = "54890")]
|
||||
#[inline]
|
||||
pub fn is_completed(&self) -> bool {
|
||||
// An `Acquire` load is enough because that makes all the initialization
|
||||
|
Loading…
x
Reference in New Issue
Block a user