From 557dcb9f8ce89ef96d907d7db3ec63a291161952 Mon Sep 17 00:00:00 2001 From: Daragh Downes Date: Mon, 16 Sep 2024 20:36:25 +0100 Subject: [PATCH] fix: clippy --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index c1bdc45..19b6ee6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -59,7 +59,7 @@ impl EventHandler for Handler { } } let bot_channel_message = match bot_channel.is_empty() { - true => format!("go to the bot channel"), + true => "go to the bot channel".to_string(), false => format!("go to https://discord.com/{}/{}", new_member.guild_id, bot_channel), };