diff options
-rw-r--r-- | benches/hittebench.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benches/hittebench.rs b/benches/hittebench.rs index 163fd1e..fefb07f 100644 --- a/benches/hittebench.rs +++ b/benches/hittebench.rs @@ -15,7 +15,7 @@ pub fn criterion_benchmark(c: &mut Criterion) { let data = vec![gpx::extract_from_str(BENCH_DATA).unwrap()]; c.bench_function("render_heatcounter", |b| { - b.iter(|| renderer::prepare::<heatmap::Renderer, _>(19, &data, || Ok(()))); + b.iter(|| renderer::prepare(&heatmap::Renderer, 19, &data, || Ok(()))); }); } |