Skip to content

Commit

Permalink
Fix more lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Icelk committed Jul 6, 2023
1 parent de01017 commit 09c5d25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ctl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ pub(crate) async fn listen(
let _task = spawn(async move {
drop(sd.get_initate_shutdown_watcher().changed().await);
info!("Send close to ctl socket, because we started shutting down.");
drop(close_ctl.send(true));
let _ = close_ctl.send(true);
})
.await;

Expand Down
2 changes: 1 addition & 1 deletion src/shutdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ impl Manager {
recieved += 1;
}
info!("Sending shutdown signal");
drop(channel.send(()));
let _ = channel.send(());
});
}
/// Waits for Kvarn to enter the `shutdown` state.
Expand Down

0 comments on commit 09c5d25

Please sign in to comment.