From 908bf5a6a35f963ac6aac57ec86c74af00967b5e Mon Sep 17 00:00:00 2001 From: David Mulder Date: Tue, 26 Mar 2024 14:33:35 -0600 Subject: [PATCH] Ignore clippy blocks_in_conditions warning in daemon I want to mirror the Kanidm daemon here, so I won't be fixing this warning until Kandim does. Signed-off-by: David Mulder --- src/daemon/src/daemon.rs | 1 + src/kanidm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/daemon/src/daemon.rs b/src/daemon/src/daemon.rs index a2db3d0c..c97705f1 100644 --- a/src/daemon/src/daemon.rs +++ b/src/daemon/src/daemon.rs @@ -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); diff --git a/src/kanidm b/src/kanidm index 0323a414..f0e9febb 160000 --- a/src/kanidm +++ b/src/kanidm @@ -1 +1 @@ -Subproject commit 0323a41458d8704cbf7b373a8390939576f363d7 +Subproject commit f0e9febbf6e8fb964b869020c721d6f07d3df6ad