fix: fix argument type
This commit is contained in:
parent
948b1be2db
commit
84cad1854a
|
@ -349,7 +349,7 @@ mod syntect_handler {
|
||||||
Element::FixedWidth(fixed_width) => write!(
|
Element::FixedWidth(fixed_width) => write!(
|
||||||
w,
|
w,
|
||||||
"<pre class=\"example\">{}</pre>",
|
"<pre class=\"example\">{}</pre>",
|
||||||
self.highlight(None, fixed_width.value)
|
self.highlight(None, &fixed_width.value)
|
||||||
)?,
|
)?,
|
||||||
Element::ExampleBlock(block) => write!(
|
Element::ExampleBlock(block) => write!(
|
||||||
w,
|
w,
|
||||||
|
|
Loading…
Reference in a new issue