diff options
| author | bors <bors@rust-lang.org> | 2019-12-18 22:03:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-12-18 22:03:29 +0000 |
| commit | c605199e89572e586a5f37bc698c48b6a10896fb (patch) | |
| tree | 69671684ad7db442e688570c24dbc7c5fd624adc /src/libstd/sync | |
| parent | 19bd93467617a447c22ec32cc1cf14d40cb84ccf (diff) | |
| parent | 241d2e765dc7401e642812e43b75dbc3950f2c98 (diff) | |
| download | rust-c605199e89572e586a5f37bc698c48b6a10896fb.tar.gz rust-c605199e89572e586a5f37bc698c48b6a10896fb.zip | |
Auto merge of #67402 - Mark-Simulacrum:stage0-step, r=alexcrichton
Switch bootstrap to 1.41 This updates the version number for master to 1.42 and switches the bootstrap compiler to yesterday's beta. Fallout of cfg(bootstrap) changes is also dealt with.
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 d8df09071cd..61c4d0c2dbf 100644 --- a/src/libstd/sync/once.rs +++ b/src/libstd/sync/once.rs @@ -188,7 +188,7 @@ struct WaiterQueue<'a> { impl Once { /// Creates a new `Once` value. #[stable(feature = "once_new", since = "1.2.0")] - #[cfg_attr(not(bootstrap), rustc_const_stable(feature = "const_once_new", since = "1.32.0"))] + #[rustc_const_stable(feature = "const_once_new", since = "1.32.0")] pub const fn new() -> Once { Once { state_and_queue: AtomicUsize::new(INCOMPLETE), _marker: marker::PhantomData } } |
