mirror of
https://github.com/NotAShelf/microfetch.git
synced 2025-11-25 16:52:50 +00:00
chore: format with rustfmt nightly
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I9c9e4e010b09d37f0e0994a5407f3ce56a6a6964
This commit is contained in:
parent
00159d6454
commit
ca76a6e1bd
1 changed files with 3 additions and 1 deletions
|
|
@ -13,7 +13,9 @@ pub fn get_current() -> Result<String, io::Error> {
|
|||
return Err(io::Error::last_os_error());
|
||||
}
|
||||
#[allow(clippy::cast_sign_loss)]
|
||||
unsafe { info.assume_init().uptime as u64 }
|
||||
unsafe {
|
||||
info.assume_init().uptime as u64
|
||||
}
|
||||
};
|
||||
|
||||
let days = uptime_seconds / 86400;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue