summaryrefslogtreecommitdiff
path: root/benches
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-11-16 10:41:30 +0100
committerLaurenz <laurmaedje@gmail.com>2021-11-16 10:41:30 +0100
commit0e0f340502beada1cd9ee23857f48b91a0d11a90 (patch)
treee4e4087260720adf4bab57edeac6a3d3cb5f14cf /benches
parentbc118634aca5de415d211cab38c4eaa3d3cca25f (diff)
Revert page and inline levels
Diffstat (limited to 'benches')
-rw-r--r--benches/oneshot.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/benches/oneshot.rs b/benches/oneshot.rs
index bb385688..6bfb923b 100644
--- a/benches/oneshot.rs
+++ b/benches/oneshot.rs
@@ -60,7 +60,7 @@ fn bench_eval(iai: &mut Iai) {
fn bench_to_tree(iai: &mut Iai) {
let (mut ctx, id) = context();
let module = ctx.evaluate(id).unwrap();
- iai.run(|| module.template.to_pages(ctx.style()));
+ iai.run(|| module.template.to_document(ctx.style()));
}
fn bench_layout(iai: &mut Iai) {