Fixed site benches compilation

This commit is contained in:
Vladislav Nikonov 2020-10-05 21:14:05 +03:00 committed by Vincent Prouillet
parent 5233cc9585
commit 4f5d9bd8b0

View file

@ -71,7 +71,7 @@ fn bench_render_paginated(b: &mut test::Bencher) {
let section = library.sections_values()[0];
let paginator = Paginator::from_section(&section, &library);
b.iter(|| site.render_paginated(public, &paginator));
b.iter(|| site.render_paginated(Vec::new(), &paginator));
}
#[bench]