Skip to content

Commit

Permalink
fmt all the things
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsnaps committed Jun 8, 2022
1 parent c8cf981 commit 8a1f5ff
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions limitador/benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,11 @@ fn bench_is_rate_limited(b: &mut Bencher, test_scenario: &TestScenario, storage:

black_box(
rate_limiter
.is_rate_limited(&params.namespace.to_owned().into(), &params.values, params.delta)
.is_rate_limited(
&params.namespace.to_owned().into(),
&params.values,
params.delta,
)
.unwrap(),
)
})
Expand All @@ -145,7 +149,11 @@ fn bench_update_counters(b: &mut Bencher, test_scenario: &TestScenario, storage:

black_box(
rate_limiter
.update_counters(&params.namespace.to_owned().into(), &params.values, params.delta)
.update_counters(
&params.namespace.to_owned().into(),
&params.values,
params.delta,
)
.unwrap(),
)
})
Expand Down

0 comments on commit 8a1f5ff

Please sign in to comment.