diff --git a/dsp/benches/cossin.rs b/dsp/benches/cossin.rs index 8168843..f082c7b 100644 --- a/dsp/benches/cossin.rs +++ b/dsp/benches/cossin.rs @@ -2,9 +2,7 @@ use criterion::{black_box, criterion_group, criterion_main, Criterion}; use dsp::trig::cossin; fn cossin_bench(c: &mut Criterion) { - c.bench_function("cossin(0)", |b| { - b.iter(|| cossin(black_box(0))) - }); + c.bench_function("cossin(0)", |b| b.iter(|| cossin(black_box(0)))); } criterion_group!(benches, cossin_bench);