summaryrefslogtreecommitdiffstats
path: root/src/package/script.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/package/script.rs')
-rw-r--r--src/package/script.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/package/script.rs b/src/package/script.rs
index a0f1527..2b5001a 100644
--- a/src/package/script.rs
+++ b/src/package/script.rs
@@ -128,7 +128,7 @@ impl<'a> HighlightedScript<'a> {
.get(self.script_theme)
.ok_or_else(|| anyhow!("Theme not available: {}", self.script_theme))?;
- let mut h = HighlightLines::new(syntax, &theme);
+ let mut h = HighlightLines::new(syntax, theme);
Ok({
LinesWithEndings::from(&self.script.0).map(move |line| {