summaryrefslogtreecommitdiff
path: root/src/poisonable/flag.rs
diff options
context:
space:
mode:
authorBotahamec <botahamec@outlook.com>2025-02-05 20:31:00 -0500
committerBotahamec <botahamec@outlook.com>2025-02-05 20:31:00 -0500
commitf6b38f7425a3183214dae79445446b042154688f (patch)
tree1219d7cc4420ff4ad58a017c0f5861b7a2936f3b /src/poisonable/flag.rs
parent280a61ad7b74019c7aad8b7306a0dd7cfb11359c (diff)
Tests and optimization
Diffstat (limited to 'src/poisonable/flag.rs')
-rw-r--r--src/poisonable/flag.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/poisonable/flag.rs b/src/poisonable/flag.rs
index 6b567c8..9186bbc 100644
--- a/src/poisonable/flag.rs
+++ b/src/poisonable/flag.rs
@@ -29,6 +29,7 @@ impl PoisonFlag {
}
#[mutants::skip] // None of the tests have panic = "abort", so this can't be tested
+ #[cfg(not(tarpaulin_include))]
pub fn is_poisoned(&self) -> bool {
false
}