mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
Formatting.
This commit is contained in:
@@ -129,11 +129,7 @@ unsafe fn inner(&self) -> *const Inner {
|
||||
}
|
||||
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user