fix clippy warnings

This commit is contained in:
Moritz Bitsch 2024-03-03 14:40:17 +01:00
parent 0f2d1ca8f1
commit 793d03bdd6
No known key found for this signature in database

View file

@ -93,7 +93,7 @@ fn main() -> Result<(), Whatever> {
let watch_thread = scheduler.watch_thread(Duration::from_millis(500)); let watch_thread = scheduler.watch_thread(Duration::from_millis(500));
for (_i, notification) in connection.iter().enumerate() { for notification in connection.iter() {
match notification { match notification {
Ok(n) => debug!("mqtt notification: {:?}", n), Ok(n) => debug!("mqtt notification: {:?}", n),
Err(e) => error!("mqtt error: {:?}", e), Err(e) => error!("mqtt error: {:?}", e),