chore: Another round of style lints fixes (#17519)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
parent
cfd43572c1
commit
095a08d9c8
33 changed files with 67 additions and 82 deletions
|
@ -875,9 +875,7 @@ fn surrounding_markers(
|
|||
}
|
||||
}
|
||||
|
||||
let Some(mut opening) = opening else {
|
||||
return None;
|
||||
};
|
||||
let mut opening = opening?;
|
||||
|
||||
let mut matched_opens = 0;
|
||||
let mut closing = None;
|
||||
|
@ -905,9 +903,7 @@ fn surrounding_markers(
|
|||
before_ch = ch;
|
||||
}
|
||||
|
||||
let Some(mut closing) = closing else {
|
||||
return None;
|
||||
};
|
||||
let mut closing = closing?;
|
||||
|
||||
if around && !search_across_lines {
|
||||
let mut found = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue