summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rwxr-xr-xsrc/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index fc9e495..e6e5e4c 100755
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -198,7 +198,7 @@ mod handle_unwind;
mod key;
pub mod collection;
-pub mod iterator;
+pub mod context;
pub mod lockable;
pub mod mutex;
pub mod poisonable;
@@ -219,6 +219,9 @@ pub use mutex::SpinLock;
/// [`BoxedLockCollection`]: collection::BoxedLockCollection
pub type LockCollection<L> = collection::BoxedLockCollection<L>;
+/// A re-export for [`context::LockContext`]
+pub type LockContext<'l, L> = context::LockContext<'l, L>;
+
/// A re-export for [`poisonable::Poisonable`]
pub type Poisonable<L> = poisonable::Poisonable<L>;