Skip to content

Commit 28b88a0

Browse files
committed
Fixed clippy errors
1 parent a6690ba commit 28b88a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benches/p1814.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ fn bench_rev_implementations(c: &mut Criterion) {
3737
let test_numbers = [42, 1234, 9876543, 1_000_000_000];
3838

3939
for &num in &test_numbers {
40-
group.bench_function(format!("loop_based_{}", num), |b| {
40+
group.bench_function(format!("loop_based_{num}"), |b| {
4141
b.iter(|| rev_loop(black_box(num)))
4242
});
4343

44-
group.bench_function(format!("string_based_{}", num), |b| {
44+
group.bench_function(format!("string_based_{num}"), |b| {
4545
b.iter(|| rev_string(black_box(num)))
4646
});
4747
}

0 commit comments

Comments
 (0)