diff options
Diffstat (limited to 'crates/windows-kernel-rs/src/sync')
| -rw-r--r-- | crates/windows-kernel-rs/src/sync/push_lock.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/windows-kernel-rs/src/sync/push_lock.rs b/crates/windows-kernel-rs/src/sync/push_lock.rs index 71b016a..3579b87 100644 --- a/crates/windows-kernel-rs/src/sync/push_lock.rs +++ b/crates/windows-kernel-rs/src/sync/push_lock.rs @@ -46,7 +46,7 @@ pub struct PushLock<T: ?Sized> { pub(crate) data: UnsafeCell<T>, } -unsafe impl<T> Send for PushLock<T> {} +unsafe impl<T> Send for PushLock<T> where T: Send {} unsafe impl<T> Sync for PushLock<T> {} impl<T> PushLock<T> { |