Skip to content

Commit 5f6eb14

Browse files
committed
Auto merge of #33563 - Amanieu:oncestate, r=alexcrichton
Export OnceState from libstd This type is used in the signature of `call_once_force` but isn't exported from libstd. r? @alexcrichton
2 parents 6ba8a1a + c91b104 commit 5f6eb14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sync/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub use self::mutex::MUTEX_INIT;
3131
#[stable(feature = "rust1", since = "1.0.0")]
3232
pub use self::mutex::{Mutex, MutexGuard, StaticMutex};
3333
#[stable(feature = "rust1", since = "1.0.0")]
34-
pub use self::once::{Once, ONCE_INIT};
34+
pub use self::once::{Once, OnceState, ONCE_INIT};
3535
#[stable(feature = "rust1", since = "1.0.0")]
3636
pub use sys_common::poison::{PoisonError, TryLockError, TryLockResult, LockResult};
3737
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)