summaryrefslogtreecommitdiff
path: root/src/syntax/highlight.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax/highlight.rs')
-rw-r--r--src/syntax/highlight.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax/highlight.rs b/src/syntax/highlight.rs
index 325b7274..0db45785 100644
--- a/src/syntax/highlight.rs
+++ b/src/syntax/highlight.rs
@@ -97,7 +97,7 @@ where
}
}
- let highlighter = Highlighter::new(&theme);
+ let highlighter = Highlighter::new(theme);
process(0, root, vec![], &highlighter, &mut f);
}