From 082ab57b68dc2f2db290acb4547f79a170a052f7 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 8 Aug 2024 00:45:40 +0200 Subject: [PATCH] Allow `BroochService::new` with too many arguments --- src/services/brooch/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/services/brooch/mod.rs b/src/services/brooch/mod.rs index b56abfb8..54690cad 100644 --- a/src/services/brooch/mod.rs +++ b/src/services/brooch/mod.rs @@ -26,6 +26,7 @@ pub struct BroochService { } impl BroochService { + #[allow(clippy::too_many_arguments)] pub fn new(database_url: String, graphql_base_url: &str, stratz_token: &str, watched_guild_id: i64, min_players_to_process: usize, telegram_bot_token: String, notification_chat_id: ChatId, max_imp_wait: TimeDelta) -> AnyResult { log::info!("Initializing a new Brooch service...");