mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
rename variable
This commit is contained in:
parent
fa1e2d39a2
commit
27a8cad8f0
@ -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…
x
Reference in New Issue
Block a user