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),