From 1922b89b1d9e69adf09202a11e18585edfc75ad2 Mon Sep 17 00:00:00 2001 From: Dominik Buszowiecki Date: Mon, 12 Aug 2024 15:52:30 -0400 Subject: [PATCH] linting --- relay-event-normalization/src/normalize/span/tag_extraction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay-event-normalization/src/normalize/span/tag_extraction.rs b/relay-event-normalization/src/normalize/span/tag_extraction.rs index 3b8e09014c..9dc15454ac 100644 --- a/relay-event-normalization/src/normalize/span/tag_extraction.rs +++ b/relay-event-normalization/src/normalize/span/tag_extraction.rs @@ -315,7 +315,7 @@ fn extract_shared_tags(event: &Event) -> BTreeMap { } if let Some(country_code) = user.geo.value().and_then(|geo| geo.country_code.value()) { tags.insert(SpanTagKey::UserCountryCode, country_code.to_owned()); - if let Some(subregion) = Subregion::from_iso2(&country_code.as_str()) { + if let Some(subregion) = Subregion::from_iso2(country_code.as_str()) { let numerical_subregion = subregion as u8; tags.insert(SpanTagKey::UserSubregion, numerical_subregion.to_string()); }