summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorMartin Haug <mhaug@live.de>2022-06-01 16:57:38 +0200
committerGitHub <noreply@github.com>2022-06-01 16:57:38 +0200
commita937462491a63f5cff3551b5bb8bc45fb350f0b6 (patch)
tree7916fca31328fef3e21d3bd62eca132369da81b0 /src/library
parent665ed12825918bd02a6d6dbcb67860a83dd41600 (diff)
parentaf10b08cc1bd5ef78c5c048a0cbc83b123f1ffd4 (diff)
Merge pull request #73 from typst/span-numbers
Diffstat (limited to 'src/library')
-rw-r--r--src/library/text/raw.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/text/raw.rs b/src/library/text/raw.rs
index fe1f9a99..a24d2170 100644
--- a/src/library/text/raw.rs
+++ b/src/library/text/raw.rs
@@ -75,7 +75,7 @@ impl Show for RawNode {
};
let mut seq = vec![];
- syntax::highlight_themed(&self.text, mode, &THEME, &mut |piece, style| {
+ syntax::highlight_themed(&self.text, mode, &THEME, |piece, style| {
seq.push(styled(piece, foreground, style));
});