summaryrefslogtreecommitdiff
path: root/src/collection/ref.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/collection/ref.rs')
-rw-r--r--src/collection/ref.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/collection/ref.rs b/src/collection/ref.rs
index 512bdec..37973f6 100644
--- a/src/collection/ref.rs
+++ b/src/collection/ref.rs
@@ -41,6 +41,7 @@ where
unsafe impl<L: Lockable> RawLock for RefLockCollection<'_, L> {
#[mutants::skip] // this should never run
+ #[cfg(not(tarpaulin_include))]
fn poison(&self) {
for lock in &self.locks {
lock.poison();
@@ -109,6 +110,7 @@ impl<T, L: AsRef<T>> AsRef<T> for RefLockCollection<'_, L> {
}
#[mutants::skip]
+#[cfg(not(tarpaulin_include))]
impl<L: Debug> Debug for RefLockCollection<'_, L> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_struct(stringify!(RefLockCollection))