From b2281e6aec631dc7c6d69edef9268ce7e00ed1dc Mon Sep 17 00:00:00 2001 From: Botahamec Date: Sat, 21 Dec 2024 11:27:09 -0500 Subject: Implement lock death, but without any usages --- src/poisonable.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/poisonable.rs') 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. /// -- cgit v1.2.3