summaryrefslogtreecommitdiff
path: root/src/rwlock
diff options
context:
space:
mode:
authorMica White <botahamec@outlook.com>2024-03-11 22:26:02 -0400
committerMica White <botahamec@outlook.com>2024-03-11 22:26:02 -0400
commitef34f899313ed4e4c5e452aef2c670f7d51f1ca9 (patch)
treefcd6462f8633abf4d572ad10b3423e50d674d67a /src/rwlock
parent92ff1a5988cdea5851930e286fd8a0abfd744471 (diff)
Further fixes to trait bounds
Diffstat (limited to 'src/rwlock')
-rw-r--r--src/rwlock/write_guard.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/rwlock/write_guard.rs b/src/rwlock/write_guard.rs
index 9350425..09fb898 100644
--- a/src/rwlock/write_guard.rs
+++ b/src/rwlock/write_guard.rs
@@ -69,9 +69,4 @@ impl<'a, 'key: 'a, T: ?Sized + 'a, Key: Keyable, R: RawRwLock>
}
}
-unsafe impl<'a, T: ?Sized + 'a, R: RawRwLock> Sync for RwLockWriteRef<'a, T, R> {}
-
-unsafe impl<'a, 'key: 'a, T: ?Sized + 'a, Key: Keyable, R: RawRwLock> Sync
- for RwLockWriteGuard<'a, 'key, T, Key, R>
-{
-}
+unsafe impl<'a, T: ?Sized + 'a, R: RawRwLock + Sync + 'a> Sync for RwLockWriteRef<'a, T, R> {}