mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
Formatting.
This commit is contained in:
parent
93310efdbe
commit
09cbaf4367
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user