diff options
| author | Martin Haug <mhaug@live.de> | 2022-06-01 16:57:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-01 16:57:38 +0200 |
| commit | a937462491a63f5cff3551b5bb8bc45fb350f0b6 (patch) | |
| tree | 7916fca31328fef3e21d3bd62eca132369da81b0 /src/library | |
| parent | 665ed12825918bd02a6d6dbcb67860a83dd41600 (diff) | |
| parent | af10b08cc1bd5ef78c5c048a0cbc83b123f1ffd4 (diff) | |
Merge pull request #73 from typst/span-numbers
Diffstat (limited to 'src/library')
| -rw-r--r-- | src/library/text/raw.rs | 2 |
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)); }); |
