summaryrefslogtreecommitdiff
path: root/src/poisonable.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/poisonable.rs')
-rw-r--r--src/poisonable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/poisonable.rs b/src/poisonable.rs
index ec6de82..f9152d1 100644
--- a/src/poisonable.rs
+++ b/src/poisonable.rs
@@ -9,7 +9,7 @@ mod poisonable;
/// A flag indicating if a lock is poisoned or not. The implementation differs
/// depending on whether panics are set to unwind or abort.
#[derive(Debug, Default)]
-struct PoisonFlag(#[cfg(panic = "unwind")] AtomicBool);
+pub(crate) struct PoisonFlag(#[cfg(panic = "unwind")] AtomicBool);
/// A wrapper around [`Lockable`] types which will enable poisoning.
///