From 2575f2429abd13cefb012728160f727d257f00e4 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 8 Aug 2024 00:42:32 +0200 Subject: [PATCH] Remove unnecessary reference --- src/services/brooch/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/brooch/mod.rs b/src/services/brooch/mod.rs index 59ef4c85..7b51825d 100644 --- a/src/services/brooch/mod.rs +++ b/src/services/brooch/mod.rs @@ -29,7 +29,7 @@ impl BroochService { 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..."); - let mut graphql_url = Url::parse(&graphql_base_url) + let mut graphql_url = Url::parse(graphql_base_url) .context("URL GraphQL non valido.")?; { let mut graphql_url_params = graphql_url.query_pairs_mut();