]> the.earth.li Git - mqttdeck.git/commitdiff
Apply "cargo fmt" to code
authorJonathan McDowell <noodles@earth.li>
Sat, 26 Apr 2025 14:54:09 +0000 (15:54 +0100)
committerJonathan McDowell <noodles@earth.li>
Sat, 26 Apr 2025 14:54:09 +0000 (15:54 +0100)
src/main.rs

index ad2abc2b2c368409ab368fb3327a89637061edc4..aefcdca49bced0bc47c5d3ff52da41c4bf9377b8 100644 (file)
@@ -78,7 +78,7 @@ async fn main() {
         .user_name(&conf["MQTT"]["username"])
         .password(&conf["MQTT"]["password"])
         .will_message(lwt_msg)
-        .automatic_reconnect(Duration::new(2,0), Duration::new(60,0))
+        .automatic_reconnect(Duration::new(2, 0), Duration::new(60, 0))
         .finalize();
 
     if let Err(err) = cli.connect(conn_opts).wait() {