mirror of
https://codeberg.org/madmo/trvcontrol.git
synced 2025-01-18 04:02:42 +00:00
fix clippy warnings
This commit is contained in:
parent
0f2d1ca8f1
commit
793d03bdd6
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue