From 793d03bdd6c6636d65f9aaaf25e766ed416df9e6 Mon Sep 17 00:00:00 2001 From: Moritz Bitsch Date: Sun, 3 Mar 2024 14:40:17 +0100 Subject: [PATCH] fix clippy warnings --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index bd149d0..7cae165 100644 --- a/src/main.rs +++ b/src/main.rs @@ -93,7 +93,7 @@ fn main() -> Result<(), Whatever> { let watch_thread = scheduler.watch_thread(Duration::from_millis(500)); - for (_i, notification) in connection.iter().enumerate() { + for notification in connection.iter() { match notification { Ok(n) => debug!("mqtt notification: {:?}", n), Err(e) => error!("mqtt error: {:?}", e),