Fix clippy::len_zero
lint style violations (#36589)
Related: #36577 Release Notes: - N/A --------- Signed-off-by: Umesh Yadav <git@umesh.dev>
This commit is contained in:
parent
92352f97ad
commit
1e6cefaa56
24 changed files with 46 additions and 46 deletions
|
@ -89,7 +89,7 @@ impl Vim {
|
|||
return;
|
||||
};
|
||||
|
||||
if prefix.len() > 0 {
|
||||
if !prefix.is_empty() {
|
||||
self.handle_literal_input(prefix, "", window, cx);
|
||||
} else {
|
||||
self.pop_operator(window, cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue