summaryrefslogtreecommitdiff
path: root/src/rwlock/write_lock.rs
diff options
context:
space:
mode:
authorBotahamec <botahamec@outlook.com>2025-01-12 15:04:01 -0500
committerBotahamec <botahamec@outlook.com>2025-01-12 15:04:01 -0500
commit280a61ad7b74019c7aad8b7306a0dd7cfb11359c (patch)
tree40d97d4e183c1bc551194944876b099d875f361d /src/rwlock/write_lock.rs
parentbf95904b3532a9175a7bfa14a3f216abbd15ee98 (diff)
More unit tests
Diffstat (limited to 'src/rwlock/write_lock.rs')
-rw-r--r--src/rwlock/write_lock.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rwlock/write_lock.rs b/src/rwlock/write_lock.rs
index ff00c06..443fbcd 100644
--- a/src/rwlock/write_lock.rs
+++ b/src/rwlock/write_lock.rs
@@ -25,6 +25,7 @@ unsafe impl<T: Send, R: RawRwLock + Send + Sync> Lockable for WriteLock<'_, T, R
// Technically, the exclusive locks can also be shared, but there's currently
// no way to express that. I don't think I want to ever express that.
+#[mutants::skip]
impl<T: ?Sized + Debug, R: RawRwLock> Debug for WriteLock<'_, T, R> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
// safety: this is just a try lock, and the value is dropped