From 499f4994a6a8507dcca20ed820c851be9a2343c1 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 16 Sep 2024 18:00:28 +0200 Subject: fix all clippy things --- server/bot/src/algos/frank.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'server/bot/src/algos/frank.rs') diff --git a/server/bot/src/algos/frank.rs b/server/bot/src/algos/frank.rs index 980d8c08..95718d4c 100644 --- a/server/bot/src/algos/frank.rs +++ b/server/bot/src/algos/frank.rs @@ -35,13 +35,13 @@ pub struct Frank { const MESSAGES: &[fn(&str) -> String] = &[ |_name| format!("Work faster, {_name}!"), - |_name| format!("Quick! There is no time for chit-chat!"), - |_name| format!("Look what a mess you've made! Clean this up immediatly!"), - |_name| format!("Don't let the customers starve!"), + |_name| "Quick! There is no time for chit-chat!".to_string(), + |_name| "Look what a mess you've made! Clean this up immediatly!".to_string(), + |_name| "Don't let the customers starve!".to_string(), |_name| format!("You are wasting me money, {_name}!"), - |_name| format!("I'm not paying you to stand around!"), + |_name| "I'm not paying you to stand around!".to_string(), |_name| format!("Get back to work, {_name}!"), - |_name| format!("You're FIRED!"), + |_name| "You're FIRED!".to_string(), ]; impl BotAlgo for Frank { -- cgit v1.2.3-70-g09d2