Skip to content

Commit

Permalink
Export types provided by arc_lock feature.
Browse files Browse the repository at this point in the history
This adds conditional re-exports of the Arc-related types from the lock_api crate.
  • Loading branch information
iwanders committed May 20, 2024
1 parent 9dace42 commit c357017
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,6 @@ pub use self::rwlock::{
RwLockUpgradableReadGuard, RwLockWriteGuard,
};
pub use ::lock_api;

#[cfg(feature = "arc_lock")]
pub use self::lock_api::{ArcMutexGuard, ArcReentrantMutexGuard, ArcRwLockReadGuard, ArcRwLockUpgradableReadGuard, ArcRwLockWriteGuard};

0 comments on commit c357017

Please sign in to comment.