Skip to content

Commit

Permalink
Rollup merge of rust-lang#54891 - rust-lang:SimonSapin-patch-1, r=nagisa
Browse files Browse the repository at this point in the history
Fix tracking issue for Once::is_completed

rust-lang#53027 was merged without a tracking issue. I just filed rust-lang#54890. CC @matklad
  • Loading branch information
pietroalbini authored Oct 10, 2018
2 parents 6641c2d + 9a9894a commit 18a78fc
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 @@ -329,7 +329,7 @@ impl Once {
/// assert!(handle.join().is_err());
/// assert_eq!(INIT.is_completed(), false);
/// ```
#[unstable(feature = "once_is_completed", issue = "42")]
#[unstable(feature = "once_is_completed", issue = "54890")]
#[inline]
pub fn is_completed(&self) -> bool {
// An `Acquire` load is enough because that makes all the initialization
Expand Down

0 comments on commit 18a78fc

Please sign in to comment.