Clippy fix

This commit is contained in:
Luke Street 2023-01-21 01:14:16 -05:00
parent a8c2514377
commit 500965aacb

View File

@ -166,7 +166,7 @@ fn symbol_list_ui(
.show(ui, |ui| { .show(ui, |ui| {
if section.kind == ObjSectionKind::Code && reverse_function_order { if section.kind == ObjSectionKind::Code && reverse_function_order {
for symbol in section.symbols.iter().rev() { for symbol in section.symbols.iter().rev() {
if !symbol_matches_search(symbol, &lower_search) { if !symbol_matches_search(symbol, lower_search) {
continue; continue;
} }
symbol_ui( symbol_ui(
@ -181,7 +181,7 @@ fn symbol_list_ui(
} }
} else { } else {
for symbol in &section.symbols { for symbol in &section.symbols {
if !symbol_matches_search(symbol, &lower_search) { if !symbol_matches_search(symbol, lower_search) {
continue; continue;
} }
symbol_ui( symbol_ui(