passes clippy lints

This commit is contained in:
Adhyan 2024-09-01 19:05:23 -06:00
parent 388f8da97f
commit 92a1214dcd
2 changed files with 8 additions and 9 deletions

View file

@ -46,7 +46,7 @@ fn handle_list(app_state: &mut AppState, stdout: &mut StdoutLock) -> Result<()>
list_state.search_query.push(k);
list_state.message.push_str("search:");
list_state.message.push_str(&list_state.search_query);
list_state.message.push_str("|");
list_state.message.push('|');
list_state.select_if_matches_search_query();
@ -57,7 +57,7 @@ fn handle_list(app_state: &mut AppState, stdout: &mut StdoutLock) -> Result<()>
list_state.search_query.pop();
list_state.message.push_str("search:");
list_state.message.push_str(&list_state.search_query);
list_state.message.push_str("|");
list_state.message.push('|');
list_state.select_if_matches_search_query();

View file

@ -375,7 +375,6 @@ impl<'a> ListState<'a> {
self.message.push_str(&msg);
}
}
}
// Return `true` if there was something to select.