Skip to content

Commit

Permalink
fix: Reorder imports in benchmark file for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuSoysal authored Dec 11, 2024
1 parent 3059278 commit 90b096e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benches/my_benchmark.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use codingame_rust_template::fib::fibonacci;
use criterion::{black_box, criterion_group, criterion_main, Criterion};

pub fn criterion_benchmark(c: &mut Criterion) {
c.bench_function("fib 20", |b| b.iter(|| black_box(fibonacci(20))));
Expand Down

0 comments on commit 90b096e

Please sign in to comment.