From 2c26dd547323d39efb7aa6bf9fdf081b8953c223 Mon Sep 17 00:00:00 2001 From: Botahamec Date: Wed, 29 May 2024 13:36:47 -0400 Subject: Fix UB with UnsafeCell --- src/rwlock/write_guard.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/rwlock') 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 -- cgit v1.2.3