clippy: needless borrows at the context_menu calls

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-12 04:28:59 -04:00
co-authored by Claude Opus 5.5
parent 6baff9f5fe
commit d1e6aa2e85
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1014,7 +1014,7 @@ fn label_index(l: Label) -> usize {
/// The column header's context menu: show or hide the optional columns.
fn column_menu(app: &mut EffectcraftApp, resp: &egui::Response) {
crate::widgets::context_menu(&resp, |ui| {
crate::widgets::context_menu(resp, |ui| {
ui.label(egui::RichText::new(crate::i18n::tr("Columns")).weak());
for (key, label, _) in COLUMNS {
let mut on = app.ui.project_columns.iter().any(|c| c == key);