Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Icelk committed Jul 6, 2023
1 parent 9352517 commit de01017
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions signal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ pub mod unix {
{
let meta = std::fs::metadata(&watcher_path);
if meta.is_err() {
drop(reload_sender.send(false));
let _ = reload_sender.send(false);
}
}
}
Expand Down Expand Up @@ -288,7 +288,7 @@ pub mod unix {

if close {
info!("Closing");
drop(sender.send(true));
let _ = sender.send(true);
debug!("Closed");
}

Expand Down

0 comments on commit de01017

Please sign in to comment.