mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +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(
|
buffer.insert_with_tags(
|
||||||
&mut buffer.end_iter(),
|
&mut buffer.end_iter(),
|
||||||
&match syntax.highlight(&code.value, None) {
|
&match syntax.highlight(&code.value, None) {
|
||||||
Some(result) => result,
|
Some(highlight) => highlight,
|
||||||
None => code.value.to_string(),
|
None => code.value.to_string(),
|
||||||
},
|
},
|
||||||
&[&tag.code.text_tag],
|
&[&tag.code.text_tag],
|
||||||
|
|
@ -123,7 +123,7 @@ impl Reader {
|
||||||
buffer.insert_with_tags(
|
buffer.insert_with_tags(
|
||||||
&mut buffer.end_iter(),
|
&mut buffer.end_iter(),
|
||||||
&match syntax.highlight(&this.value, alt) {
|
&match syntax.highlight(&this.value, alt) {
|
||||||
Some(result) => result,
|
Some(highlight) => highlight,
|
||||||
None => this.value.to_string(),
|
None => this.value.to_string(),
|
||||||
},
|
},
|
||||||
&[&tag.code.text_tag],
|
&[&tag.code.text_tag],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue