From ca76a6e1bd532f6c9424f0530ad194c32f37c744 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Mon, 17 Nov 2025 19:17:53 +0300 Subject: [PATCH] chore: format with rustfmt nightly Signed-off-by: NotAShelf Change-Id: I9c9e4e010b09d37f0e0994a5407f3ce56a6a6964 --- src/uptime.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/uptime.rs b/src/uptime.rs index 72af399..52188c2 100644 --- a/src/uptime.rs +++ b/src/uptime.rs @@ -13,7 +13,9 @@ pub fn get_current() -> Result { 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;