about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2020-10-06 18:46:57 +0200
committerMara Bos <m-ou.se@m-ou.se>2020-10-06 18:46:57 +0200
commit03fb61cfefc1436ac9dc50d3fa7d7e60146beadd (patch)
treecb30e54d2056224fae25860a9f2e4d838d918368
parent13f166a9e63547689f866bdfdb2147f86fba915c (diff)
downloadrust-03fb61cfefc1436ac9dc50d3fa7d7e60146beadd.tar.gz
rust-03fb61cfefc1436ac9dc50d3fa7d7e60146beadd.zip
Formatting.
-rw-r--r--library/std/src/sys/windows/thread_parker.rs3
1 files changed, 2 insertions, 1 deletions
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);