diff options
| author | bors <bors@rust-lang.org> | 2017-10-27 18:00:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-10-27 18:00:32 +0000 |
| commit | d9f124965551e8fb9403def6a715e13dfd5e9c95 (patch) | |
| tree | e3b0abf4124b9daa7f63d3dbe1c6f800eba73e2a /src/libstd/sync | |
| parent | bed9a85c40f98ab8f4445b66d285d4108de9ad21 (diff) | |
| parent | 8ceacf4e1138d382da3c58ef5f8e0791c00fe100 (diff) | |
| download | rust-d9f124965551e8fb9403def6a715e13dfd5e9c95.tar.gz rust-d9f124965551e8fb9403def6a715e13dfd5e9c95.zip | |
Auto merge of #45285 - alexcrichton:update-bootstrap, r=Mark-Simulacrum
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), |
