mirror of
https://codeberg.org/spire/dispenser.git
synced 2026-06-03 18:14:06 +02:00
clippy
This commit is contained in:
parent
9802f5c405
commit
578eff8ae0
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ async fn run_loop(
|
|||
// we're between stop time and start time
|
||||
if active_server.is_some() && next_stop > next_start {
|
||||
let stop_elapsed = start_of_stop_time
|
||||
.get_or_insert_with(|| Instant::now())
|
||||
.get_or_insert_with(Instant::now)
|
||||
.elapsed();
|
||||
|
||||
let stop = if stop_elapsed > stop_grace_time {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue