diff options
| author | Lukas Kalbertodt <lukas.kalbertodt@gmail.com> | 2020-03-15 10:19:26 +0100 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2020-04-03 12:49:06 -0400 |
| commit | 581c45bca3301e19e07a9eb16b94bd6925a27de8 (patch) | |
| tree | e5ac515d67f50bf6217940917821ba5d72a2dbf4 /src | |
| parent | 4b7c7d035d3a1b7102657f40b88334a173e8569b (diff) | |
| download | rust-581c45bca3301e19e07a9eb16b94bd6925a27de8.tar.gz rust-581c45bca3301e19e07a9eb16b94bd6925a27de8.zip | |
Fix "since" field for `Once::is_complete`'s `#[stable]` attribute
It was accidentally merged with the wrong version.
Diffstat (limited to 'src')
| -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 |
