From 4cb3de9fdcab68a42eb1d07cdb31d1dec966f930 Mon Sep 17 00:00:00 2001 From: zohnannor Date: Thu, 16 Nov 2023 23:31:35 +0400 Subject: [PATCH] Correction --- metrics-tracing-context/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics-tracing-context/src/lib.rs b/metrics-tracing-context/src/lib.rs index bc7078e7..f13a4a95 100644 --- a/metrics-tracing-context/src/lib.rs +++ b/metrics-tracing-context/src/lib.rs @@ -186,7 +186,7 @@ where let labels = span_labels .into_iter() - .map(|(key, value)| Label::new(key.clone(), value.clone())) + .map(|(key, value)| Label::new(key, value)) .filter(|label| self.label_filter.should_include_label(&name, label)) .collect::>();