Skip to content

Commit

Permalink
Fix bound.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee-Janggun committed Mar 25, 2024
1 parent 3f62a55 commit becbb39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lock/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ pub struct LockGuard<'s, L: RawLock, T> {
token: ManuallyDrop<L::Token>,
}

unsafe impl<L: RawLock, T: Sync> Send for LockGuard<'_, L, T> {}
unsafe impl<L: RawLock, T: Send> Send for LockGuard<'_, L, T> {}
unsafe impl<L: RawLock, T: Sync> Sync for LockGuard<'_, L, T> {}

impl<L: RawLock, T> Drop for LockGuard<'_, L, T> {
Expand Down

0 comments on commit becbb39

Please sign in to comment.