From 4e10398d6282530890627baac8ac53507cc131d4 Mon Sep 17 00:00:00 2001 From: Yash Karandikar Date: Tue, 12 Jul 2022 14:42:37 +0530 Subject: [PATCH] Reformat --- src/irc_discord.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/irc_discord.rs b/src/irc_discord.rs index c16760a..76c3b2e 100644 --- a/src/irc_discord.rs +++ b/src/irc_discord.rs @@ -106,14 +106,13 @@ pub async fn irc_loop( }) }); - let m = QueuedMessage::Webhook { + send.send(QueuedMessage::Webhook { webhook: webhook.clone(), http: http.clone(), avatar_url: avatar.clone(), content: computed, nickname: nickname.to_string(), - }; - send.send(m)?; + })?; } else { send.send(QueuedMessage::Raw { channel_id,