Skip to content

Commit ca76a6e

Browse files
committed
chore: format with rustfmt nightly
Signed-off-by: NotAShelf <[email protected]> Change-Id: I9c9e4e010b09d37f0e0994a5407f3ce56a6a6964
1 parent 00159d6 commit ca76a6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/uptime.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ pub fn get_current() -> Result<String, io::Error> {
1313
return Err(io::Error::last_os_error());
1414
}
1515
#[allow(clippy::cast_sign_loss)]
16-
unsafe { info.assume_init().uptime as u64 }
16+
unsafe {
17+
info.assume_init().uptime as u64
18+
}
1719
};
1820

1921
let days = uptime_seconds / 86400;

0 commit comments

Comments
 (0)