diff options
| author | Ralf Jung <post@ralfj.de> | 2018-08-14 12:52:37 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2018-08-14 12:52:37 +0200 |
| commit | b7a49e7c9e720039f3d2c54a38be73126d052d09 (patch) | |
| tree | ed10085280c56defd8875649c40f3043f90d069e /src/libstd/sys/windows | |
| parent | 8a72954d7a900736ce85f05cfa8c0df1c013acaa (diff) | |
| download | rust-b7a49e7c9e720039f3d2c54a38be73126d052d09.tar.gz rust-b7a49e7c9e720039f3d2c54a38be73126d052d09.zip | |
fixed wording
Diffstat (limited to 'src/libstd/sys/windows')
| -rw-r--r-- | src/libstd/sys/windows/mutex.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/mutex.rs b/src/libstd/sys/windows/mutex.rs index 58f24eb1323..b0e7331e2b6 100644 --- a/src/libstd/sys/windows/mutex.rs +++ b/src/libstd/sys/windows/mutex.rs @@ -58,7 +58,7 @@ pub unsafe fn raw(m: &Mutex) -> c::PSRWLOCK { impl Mutex { pub const fn new() -> Mutex { Mutex { - // This works because SRWLOCK_INIT is a NULL pointer, so we are also properly + // This works because SRWLOCK_INIT is 0 (wrapped in a struct), so we are also properly // initializing an SRWLOCK here. lock: AtomicUsize::new(0), held: UnsafeCell::new(false), |
