Skip to content

Commit 4c0c35f

Browse files
branchseerclaude
andcommitted
fix: Resolve clippy warnings in task selector
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7ab588b commit 4c0c35f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/vite_select/src/interactive.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,15 +583,15 @@ mod tests {
583583
.collect()
584584
}
585585

586-
/// Create items with explicit groups: (label, display_name, description, group)
586+
/// Create items with explicit groups: (label, `display_name`, description, group)
587587
fn make_grouped_items(items: &[(&str, &str, &str, Option<&str>)]) -> Vec<SelectItem> {
588588
items
589589
.iter()
590590
.map(|(label, display_name, desc, group)| SelectItem {
591591
label: (*label).into(),
592592
display_name: (*display_name).into(),
593593
description: (*desc).into(),
594-
group: group.map(|g| Str::from(g)),
594+
group: group.map(Str::from),
595595
})
596596
.collect()
597597
}

0 commit comments

Comments
 (0)