diff options
Diffstat (limited to 'benches')
| -rw-r--r-- | benches/oneshot.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benches/oneshot.rs b/benches/oneshot.rs index 7a5a3dba..baaf18f0 100644 --- a/benches/oneshot.rs +++ b/benches/oneshot.rs @@ -73,7 +73,7 @@ fn bench_highlight(iai: &mut Iai) { let source = ctx.sources.get(id); iai.run(|| { typst::syntax::highlight_node( - source.red().as_ref(), + source.root(), 0 .. source.len_bytes(), &mut |_, _| {}, ) |
