From 03fb61cfefc1436ac9dc50d3fa7d7e60146beadd Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Tue, 6 Oct 2020 18:46:57 +0200 Subject: Formatting. --- library/std/src/sys/windows/thread_parker.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'library/std/src/sys/windows') diff --git a/library/std/src/sys/windows/thread_parker.rs b/library/std/src/sys/windows/thread_parker.rs index 3311627f170..701c6e2e9be 100644 --- a/library/std/src/sys/windows/thread_parker.rs +++ b/library/std/src/sys/windows/thread_parker.rs @@ -168,7 +168,8 @@ impl Parker { }; // Wait for unpark() to produce this event. - let unparked = c::NtWaitForKeyedEvent(handle, self.ptr(), 0, &mut timeout) == c::STATUS_SUCCESS; + let unparked = + c::NtWaitForKeyedEvent(handle, self.ptr(), 0, &mut timeout) == c::STATUS_SUCCESS; // Set the state back to EMPTY (from either PARKED or NOTIFIED). let prev_state = self.state.swap(EMPTY, Acquire); -- cgit 1.4.1-3-g733a5