Skip to content

Commit ee19ec4

Browse files
committed
Formatting.
1 parent 8c8c4ea commit ee19ec4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

std/src/sys/windows/thread_parker.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ impl Parker {
168168
};
169169

170170
// Wait for unpark() to produce this event.
171-
let unparked = c::NtWaitForKeyedEvent(handle, self.ptr(), 0, &mut timeout) == c::STATUS_SUCCESS;
171+
let unparked =
172+
c::NtWaitForKeyedEvent(handle, self.ptr(), 0, &mut timeout) == c::STATUS_SUCCESS;
172173

173174
// Set the state back to EMPTY (from either PARKED or NOTIFIED).
174175
let prev_state = self.state.swap(EMPTY, Acquire);

0 commit comments

Comments
 (0)