Formatting.

This commit is contained in:
Mara Bos 2020-09-20 16:30:11 +02:00
parent 93310efdbe
commit 09cbaf4367

View File

@ -129,11 +129,7 @@ impl Mutex {
}
fn kind() -> Kind {
if c::AcquireSRWLockExclusive::is_available() {
Kind::SRWLock
} else {
Kind::CriticalSection
}
if c::AcquireSRWLockExclusive::is_available() { Kind::SRWLock } else { Kind::CriticalSection }
}
pub struct ReentrantMutex {