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