Skip to content

Commit

Permalink
Ignore clippy blocks_in_conditions warning in daemon
Browse files Browse the repository at this point in the history
I want to mirror the Kanidm daemon here, so
I won't be fixing this warning until Kandim does.

Signed-off-by: David Mulder <dmulder@samba.org>
  • Loading branch information
dmulder committed Mar 26, 2024
1 parent 6478e41 commit 908bf5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/daemon/src/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -899,6 +899,7 @@ async fn main() -> ExitCode {

let (inotify_tx, mut inotify_rx) = channel(4);

#[allow(clippy::blocks_in_conditions)]
let watcher =
match new_debouncer(Duration::from_secs(2), None, move |_event| {
let _ = inotify_tx.try_send(true);
Expand Down

0 comments on commit 908bf5a

Please sign in to comment.