From aefd8cde258ebb3a8c76bf90616b1e20446c8313 Mon Sep 17 00:00:00 2001 From: "Brian J. Tarricone" Date: Tue, 31 Aug 2021 00:09:17 -0700 Subject: [PATCH] Remove unnecessary event loop match arms --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 9dd59ec..eb0182c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -234,8 +234,7 @@ async fn run_event_loop( warn!("Topic {} not found in mappings", publish.topic); } } - Ok(Event::Incoming(_event)) => (), - Ok(Event::Outgoing(_event)) => (), + Ok(_) => (), Err(err) => warn!("Error from MQTT loop: {:#?}", err), } }