diff options
| author | Botahamec <botahamec@outlook.com> | 2024-12-21 11:27:09 -0500 |
|---|---|---|
| committer | Botahamec <botahamec@outlook.com> | 2024-12-21 11:27:09 -0500 |
| commit | b2281e6aec631dc7c6d69edef9268ce7e00ed1dc (patch) | |
| tree | 4a3d9059e291016dcfaec8b08ac4aee48a7b815a /src/poisonable.rs | |
| parent | 0ddbb5efa57fb36b2c83a5cd1dc43a5cf426e3ee (diff) | |
Implement lock death, but without any usages
Diffstat (limited to 'src/poisonable.rs')
| -rw-r--r-- | src/poisonable.rs | 2 |
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. /// |
