chore: format with rustfmt nightly

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I9c9e4e010b09d37f0e0994a5407f3ce56a6a6964
This commit is contained in:
raf 2025-11-17 19:17:53 +03:00
commit ca76a6e1bd
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -13,7 +13,9 @@ pub fn get_current() -> Result<String, io::Error> {
return Err(io::Error::last_os_error()); return Err(io::Error::last_os_error());
} }
#[allow(clippy::cast_sign_loss)] #[allow(clippy::cast_sign_loss)]
unsafe { info.assume_init().uptime as u64 } unsafe {
info.assume_init().uptime as u64
}
}; };
let days = uptime_seconds / 86400; let days = uptime_seconds / 86400;