mirror of
https://github.com/async-rs/async-std.git
synced 2025-01-30 09:15:33 +00:00
Update mod.rs
export Arc variations of RwLockGuards
This commit is contained in:
parent
fa29b508e1
commit
d03626effb
1 changed files with 4 additions and 1 deletions
|
@ -178,7 +178,10 @@ pub use std::sync::{Arc, Weak};
|
|||
pub use async_lock::{Mutex, MutexGuard, MutexGuardArc};
|
||||
|
||||
#[doc(inline)]
|
||||
pub use async_lock::{RwLock, RwLockReadGuard, RwLockUpgradableReadGuard, RwLockWriteGuard};
|
||||
pub use async_lock::{
|
||||
RwLock, RwLockReadGuard, RwLockReadGuardArc, RwLockUpgradableReadGuard,
|
||||
RwLockUpgradableReadGuardArc, RwLockWriteGuard, RwLockWriteGuardArc,
|
||||
};
|
||||
|
||||
cfg_unstable! {
|
||||
pub use async_lock::{Barrier, BarrierWaitResult};
|
||||
|
|
Loading…
Reference in a new issue