Clarify parameter name

pull/579/head^2
Wilfred Hughes 2023-11-28 11:57:11 +07:00
parent 08853fa9b6
commit d89d057345
1 changed files with 2 additions and 2 deletions

@ -754,7 +754,7 @@ impl MatchedPos {
ck: ChangeKind, ck: ChangeKind,
highlight: TokenKind, highlight: TokenKind,
pos: &[SingleLineSpan], pos: &[SingleLineSpan],
is_close: bool, is_close_delim: bool,
) -> Vec<Self> { ) -> Vec<Self> {
match ck { match ck {
ReplacedComment(this, opposite) | ReplacedString(this, opposite) => { ReplacedComment(this, opposite) | ReplacedString(this, opposite) => {
@ -790,7 +790,7 @@ impl MatchedPos {
close_position, close_position,
.. ..
} => { } => {
if is_close { if is_close_delim {
close_position.clone() close_position.clone()
} else { } else {
open_position.clone() open_position.clone()