2
0
Fork 1
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:
ChosenName 2024-09-17 11:09:23 -06:00 committed by GitHub
parent fa29b508e1
commit d03626effb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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};