Skip to content

Commit b6dbb75

Browse files
committed
fix: clippy lints
1 parent 70faa59 commit b6dbb75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/divan_compat/benches/basic_example.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ mod const_bench {
4444
fn init_array<const N: usize>() -> [i32; N] {
4545
let mut result = [0; N];
4646

47+
#[allow(clippy::needless_range_loop)]
4748
for i in 0..N {
4849
result[i] = divan::black_box(i as i32);
4950
}

0 commit comments

Comments
 (0)