Commit e611f21c authored by Stefan Lankes's avatar Stefan Lankes Committed by Stefan Lankes
Browse files

minor changes to pass the format check

parent 007b1a60
......@@ -86,11 +86,7 @@ fn __sys_sem_timedwait(sem: *const Semaphore, ms: u32) -> i32 {
return -EINVAL;
}
let delay = if ms > 0 {
Some(u64::from(ms))
} else {
None
};
let delay = if ms > 0 { Some(u64::from(ms)) } else { None };
// Get a reference to the given semaphore and wait until we have acquired it or the wakeup time has elapsed.
let semaphore = unsafe { &*sem };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment