Skip to content

Commit b7a49e7

Browse files
committed
fixed wording
1 parent 8a72954 commit b7a49e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/windows/mutex.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pub unsafe fn raw(m: &Mutex) -> c::PSRWLOCK {
5858
impl Mutex {
5959
pub const fn new() -> Mutex {
6060
Mutex {
61-
// This works because SRWLOCK_INIT is a NULL pointer, so we are also properly
61+
// This works because SRWLOCK_INIT is 0 (wrapped in a struct), so we are also properly
6262
// initializing an SRWLOCK here.
6363
lock: AtomicUsize::new(0),
6464
held: UnsafeCell::new(false),

0 commit comments

Comments
 (0)