From 8a1f5ff08fc010adf08de6245c2e3186662a1fca Mon Sep 17 00:00:00 2001 From: Alex Snaps Date: Wed, 8 Jun 2022 16:46:21 -0400 Subject: [PATCH] fmt all the things --- limitador/benches/bench.rs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/limitador/benches/bench.rs b/limitador/benches/bench.rs index 367f0ef9..60bebe82 100644 --- a/limitador/benches/bench.rs +++ b/limitador/benches/bench.rs @@ -130,7 +130,11 @@ fn bench_is_rate_limited(b: &mut Bencher, test_scenario: &TestScenario, storage: black_box( rate_limiter - .is_rate_limited(¶ms.namespace.to_owned().into(), ¶ms.values, params.delta) + .is_rate_limited( + ¶ms.namespace.to_owned().into(), + ¶ms.values, + params.delta, + ) .unwrap(), ) }) @@ -145,7 +149,11 @@ fn bench_update_counters(b: &mut Bencher, test_scenario: &TestScenario, storage: black_box( rate_limiter - .update_counters(¶ms.namespace.to_owned().into(), ¶ms.values, params.delta) + .update_counters( + ¶ms.namespace.to_owned().into(), + ¶ms.values, + params.delta, + ) .unwrap(), ) })