diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-05-31 10:40:30 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-05-31 10:40:30 +0200 |
| commit | 08a6188123ad0806986fa4f5477b728a07d081cc (patch) | |
| tree | 3338f1d64ebdd6df734bcc9ae0172bda2e075a2a /benches | |
| parent | 665ed12825918bd02a6d6dbcb67860a83dd41600 (diff) | |
Remove green/red distinction
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 |_, _| {}, ) |
