diff options
| author | kennytm <kennytm@gmail.com> | 2018-10-12 22:04:07 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-12 22:04:07 +0800 |
| commit | ef7f77d53db23ecd94539f4107a4b4fd12ec0753 (patch) | |
| tree | 201006a5b17e4a998b3f810356e5cd8dece39396 /src/libstd | |
| parent | 8d85b893d86831cf66f694369fd4de6636660b3f (diff) | |
| parent | 9a9894a8f1f0dbf1acb35947081bbd299fc44968 (diff) | |
| download | rust-ef7f77d53db23ecd94539f4107a4b4fd12ec0753.tar.gz rust-ef7f77d53db23ecd94539f4107a4b4fd12ec0753.zip | |
Rollup merge of #54891 - rust-lang:SimonSapin-patch-1, r=nagisa
Fix tracking issue for Once::is_completed https://github.com/rust-lang/rust/pull/53027 was merged without a tracking issue. I just filed https://github.com/rust-lang/rust/issues/54890. CC @matklad
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/sync/once.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/once.rs b/src/libstd/sync/once.rs index 17cb614ba11..98845e457b2 100644 --- a/src/libstd/sync/once.rs +++ b/src/libstd/sync/once.rs @@ -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 |
