summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-05-31 12:37:05 +0200
committerLaurenz <laurmaedje@gmail.com>2022-05-31 12:37:05 +0200
commit9bbebd69ddb4a7d7da98c3a79ff7d0cb187873fd (patch)
tree0fc651f43337d65e13cccb2bbe85ab1b79666725 /src/library
parent08a6188123ad0806986fa4f5477b728a07d081cc (diff)
Numbered spans
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));
});