Skip to content

Commit

Permalink
Fix "since" field for Once::is_complete's #[stable] attribute
Browse files Browse the repository at this point in the history
It was accidentally merged with the wrong version.
  • Loading branch information
LukasKalbertodt committed Mar 15, 2020
1 parent 7cdbc87 commit 401a3f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sync/once.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 401a3f3

Please sign in to comment.