Skip to content

Commit

Permalink
Update mod.rs
Browse files Browse the repository at this point in the history
export Arc variations of RwLockGuards
  • Loading branch information
ChosenName authored Sep 17, 2024
1 parent fa29b50 commit d03626e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sync/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit d03626e

Please sign in to comment.