clippy: apply auto-fixable warnings across workspace (closes #265 partial)
This commit is contained in:
parent
56d0b02c2f
commit
30d82148e0
18 changed files with 83 additions and 102 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue