diff options
| author | Chris Denton <chris@chrisdenton.dev> | 2024-07-14 07:26:18 +0000 |
|---|---|---|
| committer | Chris Denton <chris@chrisdenton.dev> | 2024-07-15 05:01:22 +0000 |
| commit | 21f69b5b8236a3297c8000253dbe995b04b6c966 (patch) | |
| tree | 0f007cf5546ebf78a5a30ee661900fc195c95c6a /library/std/src/sys/sync | |
| parent | 84dd7e4959bd1cadb67989f7a3234a46bcda2faf (diff) | |
| download | rust-21f69b5b8236a3297c8000253dbe995b04b6c966.tar.gz rust-21f69b5b8236a3297c8000253dbe995b04b6c966.zip | |
Remove PSRWLOCK
Diffstat (limited to 'library/std/src/sys/sync')
| -rw-r--r-- | library/std/src/sys/sync/mutex/windows7.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/sync/mutex/windows7.rs b/library/std/src/sys/sync/mutex/windows7.rs index ef2f84082cd..689dba10f01 100644 --- a/library/std/src/sys/sync/mutex/windows7.rs +++ b/library/std/src/sys/sync/mutex/windows7.rs @@ -25,7 +25,7 @@ unsafe impl Send for Mutex {} unsafe impl Sync for Mutex {} #[inline] -pub unsafe fn raw(m: &Mutex) -> c::PSRWLOCK { +pub unsafe fn raw(m: &Mutex) -> *mut c::SRWLOCK { m.srwlock.get() } |
