Update mod.rs

export Arc variations of RwLockGuards
pull/1094/head
ChosenName 3 months ago committed by GitHub
parent fa29b508e1
commit d03626effb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save