clippy
CI / Lint and Test (pull_request) Failing after 1m31s
CI / Version Check (pull_request) Failing after 3s

This commit is contained in:
2026-04-03 15:01:23 +02:00
parent 16d12e6dce
commit 25ecde96fa
7 changed files with 59 additions and 72 deletions
+4 -4
View File
@@ -114,10 +114,10 @@ impl BacklightDaemon {
let (ev_tx, ev_rx) = mpsc::channel();
let mut watcher = RecommendedWatcher::new(
move |res: notify::Result<Event>| {
if let Ok(event) = res {
if event.kind.is_modify() {
let _ = ev_tx.send(());
}
if let Ok(event) = res
&& event.kind.is_modify()
{
let _ = ev_tx.send(());
}
},
NotifyConfig::default(),