From 4c95e5cbfd9c151cecdaddb264362d249e9bce60 Mon Sep 17 00:00:00 2001 From: Dalitso Banda Date: Mon, 22 May 2023 21:22:35 -0700 Subject: [PATCH] linting --- rust_snuba/rust_arroyo/src/utils/metrics.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rust_snuba/rust_arroyo/src/utils/metrics.rs b/rust_snuba/rust_arroyo/src/utils/metrics.rs index d769432194..69076e9395 100644 --- a/rust_snuba/rust_arroyo/src/utils/metrics.rs +++ b/rust_snuba/rust_arroyo/src/utils/metrics.rs @@ -62,7 +62,7 @@ impl MetricsClientTrait for MetricsClient { match result { Ok(_) => {} Err(_err) => { - println!("Failed to send metric {}: {}", key, _err) + println!("Failed to send metric {key}: {_err}") } } } @@ -87,7 +87,7 @@ impl MetricsClientTrait for MetricsClient { match result { Ok(_) => {} Err(_err) => { - println!("Failed to send metric {}: {}", key, _err) + println!("Failed to send metric {key}: {_err}") } } } @@ -112,7 +112,7 @@ impl MetricsClientTrait for MetricsClient { match result { Ok(_) => {} Err(_err) => { - println!("Failed to send metric {}: {}", key, _err) + println!("Failed to send metric {key}: {_err}") } } } @@ -136,7 +136,7 @@ impl MetricsClient { match result { Ok(_) => {} Err(_err) => { - println!("Failed to send metric with tags: {}", _err) + println!("Failed to send metric with tags: {_err}") } } }