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
|
@ -202,9 +202,7 @@ impl VimCommand {
|
|||
query = &query[..query.len() - 1];
|
||||
}
|
||||
|
||||
let Some(suffix) = query.strip_prefix(self.prefix) else {
|
||||
return None;
|
||||
};
|
||||
let suffix = query.strip_prefix(self.prefix)?;
|
||||
if !self.suffix.starts_with(suffix) {
|
||||
return None;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue