summaryrefslogtreecommitdiff
path: root/src/collection/owned.rs
diff options
context:
space:
mode:
authorMica White <botahamec@gmail.com>2024-12-26 13:23:40 -0500
committerMica White <botahamec@gmail.com>2024-12-26 13:33:52 -0500
commit12d4850092ced6156d8468ae1cbc5dc3d752276e (patch)
treee537e0fc2ad3aceb454432e4cfac5657fd1787f4 /src/collection/owned.rs
parent9eec9ab94bbe5c9fbd52d5bbf393fe1ddcc6fc26 (diff)
skip some mutants
Diffstat (limited to 'src/collection/owned.rs')
-rw-r--r--src/collection/owned.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/collection/owned.rs b/src/collection/owned.rs
index 7436a6e..8e8afce 100644
--- a/src/collection/owned.rs
+++ b/src/collection/owned.rs
@@ -14,6 +14,7 @@ fn get_locks<L: Lockable>(data: &L) -> Vec<&dyn RawLock> {
}
unsafe impl<L: Lockable> RawLock for OwnedLockCollection<L> {
+ #[mutants::skip] // this should never run
fn poison(&self) {
let locks = get_locks(&self.data);
for lock in locks {