From 401a3f376263886f997013e7bfe266ef6b7568dd Mon Sep 17 00:00:00 2001 From: Lukas Kalbertodt Date: Sun, 15 Mar 2020 10:19:26 +0100 Subject: [PATCH] Fix "since" field for `Once::is_complete`'s `#[stable]` attribute It was accidentally merged with the wrong version. --- src/libstd/sync/once.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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