diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-10-14 08:20:03 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-10-26 13:59:18 -0700 |
| commit | ca1853719719519e970337b0c93a95fab81d171b (patch) | |
| tree | 56ea9b5bb52ab79aa7ab94c6964d413f7d1a90f9 /src/libstd/sync | |
| parent | b0b80f8c2299cccd7a4f22ee3cc1a2ca823eaa31 (diff) | |
| download | rust-ca1853719719519e970337b0c93a95fab81d171b.tar.gz rust-ca1853719719519e970337b0c93a95fab81d171b.zip | |
Bump to 1.23 and update bootstrap
This commit updates the bootstrap compiler, bumps the version to 1.23, updates Cargo, updates books, and updates crates.io dependencies
Diffstat (limited to 'src/libstd/sync')
| -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 30dbf02087d..2ef99525af5 100644 --- a/src/libstd/sync/once.rs +++ b/src/libstd/sync/once.rs @@ -156,7 +156,7 @@ struct Finish { impl Once { /// Creates a new `Once` value. #[stable(feature = "once_new", since = "1.2.0")] - #[cfg_attr(not(stage0), rustc_const_unstable(feature = "const_once_new"))] + #[rustc_const_unstable(feature = "const_once_new")] pub const fn new() -> Once { Once { state: AtomicUsize::new(INCOMPLETE), |
