From 0eda1e92228da94e5778d13f9cf3274bb2ac46b4 Mon Sep 17 00:00:00 2001 From: Darksome Date: Thu, 4 Jul 2024 16:05:08 +0000 Subject: [PATCH] fix: clippy --- crates/metrics/src/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/metrics/src/test.rs b/crates/metrics/src/test.rs index eaa3a77..ae4c80c 100644 --- a/crates/metrics/src/test.rs +++ b/crates/metrics/src/test.rs @@ -178,7 +178,7 @@ impl Metrics { value: &Value, ) { let labels: HashMap<_, _> = labels - .into_iter() + .iter() .map(|(k, v)| (k.to_string(), v.to_string())) .collect();