Skip to content

Commit 38a6a3f

Browse files
committed
Fix cargo clippy feedback.
1 parent 9327d97 commit 38a6a3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mqtt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ pub async fn setup(conf: &Configuration) -> Result<()> {
208208
tokio::spawn({
209209
let on_mqtt_connected = conf.callbacks.on_mqtt_connected.clone();
210210
let on_mqtt_connection_error = conf.callbacks.on_mqtt_connection_error.clone();
211-
let reconnect_interval = conf.mqtt.reconnect_interval.clone();
211+
let reconnect_interval = conf.mqtt.reconnect_interval;
212212

213213
async move {
214214
info!("Starting MQTT event loop");

0 commit comments

Comments
 (0)