Watch
0
0
Fork
You've already forked hyperhive
0

clippy: apply auto-fixable warnings across workspace (closes #265 partial)

This commit is contained in:
damocles 2026-05-22 17:50:11 +02:00 • committed by Mara
commit 30d82148e0

View file

@ -613,8 +613,7 @@ impl Broker {
let now = std::time::SystemTime::now()
.duration_since(std::time::UNIX_EPOCH)
.ok()
.map(|d| d.as_secs() as i64)
.unwrap_or(0);
.map_or(0, |d| d.as_secs() as i64);
now - since_secs as i64
} else {
i64::MIN