1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-02 22:17:45 +00:00

refactor/polish ~ fix rustc complaints (unused_parens)

This commit is contained in:
Roy Ivy III 2020-04-03 16:17:56 -05:00
parent ecc895e7a1
commit 5224c3cd49

View file

@ -172,7 +172,7 @@ fn get_uptime(boot_time: Option<time_t>) -> i64 {
Some(t) => { Some(t) => {
let now = time::get_time().sec; let now = time::get_time().sec;
let boottime = t as i64; let boottime = t as i64;
((now - boottime) * 100) (now - boottime) * 100
} }
_ => -1, _ => -1,
} }