about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorLukas Kalbertodt <lukas.kalbertodt@gmail.com>2020-03-15 10:19:26 +0100
committerLukas Kalbertodt <lukas.kalbertodt@gmail.com>2020-03-15 10:19:26 +0100
commit401a3f376263886f997013e7bfe266ef6b7568dd (patch)
treed4c46d691d0edc17cf03ed3343e9aa7976a812ec /src/libstd/sync
parent7cdbc87a49b0b705a41a004a6d486b0952521ae7 (diff)
downloadrust-401a3f376263886f997013e7bfe266ef6b7568dd.tar.gz
rust-401a3f376263886f997013e7bfe266ef6b7568dd.zip
Fix "since" field for `Once::is_complete`'s `#[stable]` attribute
It was accidentally merged with the wrong version.
Diffstat (limited to 'src/libstd/sync')
-rw-r--r--src/libstd/sync/once.rs2
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