From d03626effb43cfe9fa5f3523cc4ed607a745158c Mon Sep 17 00:00:00 2001 From: ChosenName <69129796+ChosenName@users.noreply.github.com> Date: Tue, 17 Sep 2024 11:09:23 -0600 Subject: [PATCH] Update mod.rs export Arc variations of RwLockGuards --- src/sync/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/sync/mod.rs b/src/sync/mod.rs index 1d857961..816dfb72 100644 --- a/src/sync/mod.rs +++ b/src/sync/mod.rs @@ -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};