Skip to content

Commit 09cbaf4

Browse files
committed
Formatting.
1 parent 93310ef commit 09cbaf4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

library/std/src/sys/windows/mutex.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,7 @@ impl Mutex {
129129
}
130130

131131
fn kind() -> Kind {
132-
if c::AcquireSRWLockExclusive::is_available() {
133-
Kind::SRWLock
134-
} else {
135-
Kind::CriticalSection
136-
}
132+
if c::AcquireSRWLockExclusive::is_available() { Kind::SRWLock } else { Kind::CriticalSection }
137133
}
138134

139135
pub struct ReentrantMutex {

0 commit comments

Comments
 (0)