summaryrefslogtreecommitdiff
path: root/benches
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-10-05 12:49:39 +0200
committerLaurenz <laurmaedje@gmail.com>2022-10-05 12:49:39 +0200
commitec884ec1d85f6e1d7868db3e82d572579cc5d345 (patch)
tree92819f3a31abd6fdcd6b01adcd367bad344bef13 /benches
parent5a8534a395b500a25cbc46ee15ec031c8231de59 (diff)
Refactor syntax module
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 23f829b3..d4727512 100644
--- a/benches/oneshot.rs
+++ b/benches/oneshot.rs
@@ -66,7 +66,7 @@ fn bench_edit(iai: &mut Iai) {
fn bench_highlight(iai: &mut Iai) {
let source = Source::detached(TEXT);
iai.run(|| {
- typst::syntax::highlight_node(
+ typst::syntax::highlight::highlight_categories(
source.root(),
0 .. source.len_bytes(),
&mut |_, _| {},