Skip to content

Commit

Permalink
added clippy feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ayax79 committed Oct 11, 2024
1 parent 2667e31 commit a46f22b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/edit_mode/vi/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@ fn right_bracket_for(c: &char) -> char {
}

fn is_valid_change_in(c: &char) -> bool {
match *c {
'(' | '[' | '{' | ')' | ']' | '}' | '"' | '\'' | '`' | '<' => true,
_ => false,
}
matches!(
c,
'(' | '[' | '{' | ')' | ']' | '}' | '"' | '\'' | '`' | '<'
)
}

0 comments on commit a46f22b

Please sign in to comment.