From 1b9ae7fa2b5a6e8dfd2bb40e14d74659ea7eca00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 9 Apr 2023 11:09:28 +0200 Subject: [PATCH] Remove useless references --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 3685cdf..59c4f23 100644 --- a/src/main.rs +++ b/src/main.rs @@ -86,7 +86,7 @@ async fn main_loop(cnf: &config::Config) { msg.append_line(entry.get_data()); } else { log::debug!("message ready: {msg_id}"); - msg.sign_and_return(&cnf).await; + msg.sign_and_return(cnf).await; messages.remove(&msg_id); log::debug!("message removed: {msg_id}"); } @@ -98,7 +98,7 @@ async fn main_loop(cnf: &config::Config) { messages.insert(msg_id, msg); } else { log::debug!("empty new message: {msg_id}"); - msg.sign_and_return(&cnf).await; + msg.sign_and_return(cnf).await; } } }