Skip to content

Commit 780b6cb

Browse files
chore: format
1 parent b30d80e commit 780b6cb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sys/time.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,8 +630,7 @@ impl TimeVal {
630630
)] // https://github.com/rust-lang/libc/issues/1848
631631
fn micros_mod_sec(&self) -> suseconds_t {
632632
if self.tv_sec() < 0 && self.tv_usec() > 0 {
633-
self.tv_usec()
634-
- MICROS_PER_SEC as suseconds_t
633+
self.tv_usec() - MICROS_PER_SEC as suseconds_t
635634
} else {
636635
self.tv_usec()
637636
}

0 commit comments

Comments
 (0)