Skip to content

Commit b3be11e

Browse files
committed
Formatting.
1 parent 060e8cb commit b3be11e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

library/std/src/sys/cloudabi/condvar.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ impl Condvar {
2828

2929
pub unsafe fn notify_one(&self) {
3030
if self.condvar.load(Ordering::Relaxed) != abi::CONDVAR_HAS_NO_WAITERS.0 {
31-
let ret = abi::condvar_signal(&self.condvar as *const AtomicU32 as *mut abi::condvar, abi::scope::PRIVATE, 1);
31+
let ret = abi::condvar_signal(
32+
&self.condvar as *const AtomicU32 as *mut abi::condvar,
33+
abi::scope::PRIVATE,
34+
1,
35+
);
3236
assert_eq!(ret, abi::errno::SUCCESS, "Failed to signal on condition variable");
3337
}
3438
}

0 commit comments

Comments
 (0)