mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
rename variable
This commit is contained in:
parent
fa1e2d39a2
commit
27a8cad8f0
1 changed files with 2 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ impl Reader {
|
|||
buffer.insert_with_tags(
|
||||
&mut buffer.end_iter(),
|
||||
&match syntax.highlight(&code.value, None) {
|
||||
Some(result) => result,
|
||||
Some(highlight) => highlight,
|
||||
None => code.value.to_string(),
|
||||
},
|
||||
&[&tag.code.text_tag],
|
||||
|
|
@ -123,7 +123,7 @@ impl Reader {
|
|||
buffer.insert_with_tags(
|
||||
&mut buffer.end_iter(),
|
||||
&match syntax.highlight(&this.value, alt) {
|
||||
Some(result) => result,
|
||||
Some(highlight) => highlight,
|
||||
None => this.value.to_string(),
|
||||
},
|
||||
&[&tag.code.text_tag],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue