summaryrefslogtreecommitdiff
path: root/src/poisonable.rs
diff options
context:
space:
mode:
authorBotahamec <botahamec@outlook.com>2024-12-21 11:27:09 -0500
committerBotahamec <botahamec@outlook.com>2024-12-21 11:27:09 -0500
commitb2281e6aec631dc7c6d69edef9268ce7e00ed1dc (patch)
tree4a3d9059e291016dcfaec8b08ac4aee48a7b815a /src/poisonable.rs
parent0ddbb5efa57fb36b2c83a5cd1dc43a5cf426e3ee (diff)
Implement lock death, but without any usages
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.
///