Fix "since" field for Once::is_complete's #[stable] attribute

It was accidentally merged with the wrong version.
This commit is contained in:
Lukas Kalbertodt 2020-03-15 10:19:26 +01:00
parent 7cdbc87a49
commit 401a3f3762
No known key found for this signature in database
GPG Key ID: 3CBAF4153F818627

View File

@ -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