summaryrefslogtreecommitdiff
path: root/src/rwlock
diff options
context:
space:
mode:
authorBotahamec <botahamec@outlook.com>2024-05-29 13:36:47 -0400
committerBotahamec <botahamec@outlook.com>2024-05-29 13:36:47 -0400
commit2c26dd547323d39efb7aa6bf9fdf081b8953c223 (patch)
tree5d46e189bb6f6efbdc88521cf3735423d5415cb4 /src/rwlock
parent35111cad16ad5202a511f85fce90196fad6f7707 (diff)
Fix UB with UnsafeCell
Diffstat (limited to 'src/rwlock')
-rw-r--r--src/rwlock/write_guard.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rwlock/write_guard.rs b/src/rwlock/write_guard.rs
index fa96eb0..9ffea39 100644
--- a/src/rwlock/write_guard.rs
+++ b/src/rwlock/write_guard.rs
@@ -135,5 +135,3 @@ impl<'a, 'key: 'a, T: ?Sized + 'a, Key: Keyable, R: RawRwLock>
}
unsafe impl<'a, T: ?Sized + Sync + 'a, R: RawRwLock + Sync + 'a> Sync for RwLockWriteRef<'a, T, R> {}
-
-// TODO implement display and debug here