From 847700b42c0ef17f2e7d2142b03851401572a64d Mon Sep 17 00:00:00 2001 From: Alexander Tesfamichael Date: Thu, 8 Feb 2024 21:21:05 +0100 Subject: [PATCH] refactor(inclusion_monitor): remove unneeded ref --- src/phoenix/inclusion_monitor/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/phoenix/inclusion_monitor/mod.rs b/src/phoenix/inclusion_monitor/mod.rs index 056413e..04b466c 100644 --- a/src/phoenix/inclusion_monitor/mod.rs +++ b/src/phoenix/inclusion_monitor/mod.rs @@ -302,17 +302,17 @@ async fn report_missing_payload( let proposer_ip = { let ip = proposer_ip.as_deref().unwrap_or("-"); - telegram_escape(&ip) + telegram_escape(ip) }; let proposer_country = { let country = proposer_location.country.as_deref().unwrap_or("-"); - telegram_escape(&country) + telegram_escape(country) }; let proposer_city = { let city = proposer_location.city.as_deref().unwrap_or("-"); - telegram_escape(&city) + telegram_escape(city) }; let proposer_meta_message = formatdoc!( "