Open jkugelman opened 11 months ago
In bencher.rs there are four doc comments like this:
bencher.rs
/// c.bench_function("with_setup", move |b| { /// // This will avoid timing the to_vec call. /// b.iter_batched(|| data.clone(), /* ... */) /// });
They should say clone not to_vec because the setup code is || data.clone().
clone
to_vec
|| data.clone()
In
bencher.rs
there are four doc comments like this:They should say
clone
notto_vec
because the setup code is|| data.clone()
.