cargo fmt + clippy
All checks were successful
Build and test / check (push) Successful in 1m0s
Build and test / build (push) Successful in 1m35s
Build and test / test (push) Successful in 2m48s
Build and test / docs (push) Successful in 3m4s

This commit is contained in:
2026-01-06 02:00:53 +09:00
parent fa789c43a6
commit f3e1f898a6

View File

@@ -88,14 +88,12 @@ fn old_format_user_entries(entries: &[(String, WhodUserEntry)]) -> Vec<String> {
})
.unwrap_or(0);
let result = entries
entries
.iter()
.map(|(hostname, user)| {
old_format_user_entry(hostname, hostname_tty_width, idle_time_width, user)
})
.collect();
result
.collect()
}
fn old_format_user_entry(