forked from mirror/async-std
Merge #218
218: expose sync::{Arc,Weak} r=stjepang a=yoshuawuyts Ref #217. Exposes `std::sync::Arc` and `std::sync::Weak`. Thanks! Co-authored-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
This commit is contained in:
commit
4aceee1b61
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,9 @@
|
|||
//! # }) }
|
||||
//! ```
|
||||
|
||||
#[doc(inline)]
|
||||
pub use std::sync::{Arc, Weak};
|
||||
|
||||
pub use mutex::{Mutex, MutexGuard};
|
||||
pub use rwlock::{RwLock, RwLockReadGuard, RwLockWriteGuard};
|
||||
|
||||
|
|
Loading…
Reference in a new issue