diff options
| author | bors <bors@rust-lang.org> | 2020-03-15 17:27:47 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-03-15 17:27:47 +0000 |
| commit | e0f5df017368dc3f7cb458fc6d5a5e0420e1d2e5 (patch) | |
| tree | 9c345daf32ba2b8a08337ccac954bb9ae905ca48 /src/libstd | |
| parent | 5da2e53f471f5eea60f534845b90c97ecabb71cb (diff) | |
| parent | bde77af0944e7b6f666b64f92bc30f8fd55296d2 (diff) | |
| download | rust-e0f5df017368dc3f7cb458fc6d5a5e0420e1d2e5.tar.gz rust-e0f5df017368dc3f7cb458fc6d5a5e0420e1d2e5.zip | |
Auto merge of #70024 - Centril:rollup-cppmaxr, r=Centril
Rollup of 8 pull requests Successful merges: - #69528 (Add undo_leak to reset RefCell borrow state) - #69589 (ast: `Mac`/`Macro` -> `MacCall`) - #69661 (Implement From<&mut str> for String) - #69988 (rustc_metadata: Remove `rmeta::MacroDef`) - #70006 (resolve: Fix two issues in fresh binding disambiguation) - #70011 (def_collector: Fully visit async functions) - #70013 (Return feature gate as a `Symbol` ) - #70018 (Fix "since" field for `Once::is_complete`'s `#[stable]` attribute) Failed merges: r? @ghost
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 b99b4d8d9fd..1e6b6c430be 100644 --- a/src/libstd/sync/once.rs +++ b/src/libstd/sync/once.rs @@ -363,7 +363,7 @@ impl Once { /// assert!(handle.join().is_err()); /// assert_eq!(INIT.is_completed(), false); /// ``` - #[stable(feature = "once_is_completed", since = "1.44.0")] + #[stable(feature = "once_is_completed", since = "1.43.0")] #[inline] pub fn is_completed(&self) -> bool { // An `Acquire` load is enough because that makes all the initialization |
