More clippy fixes

This commit is contained in:
2025-07-07 15:29:30 -06:00
parent 8756eee07b
commit 5f48e69775
7 changed files with 40 additions and 34 deletions

View File

@@ -609,7 +609,7 @@ pub fn instruction_hover(
out.push(HoverItem::Separator);
for (literal, label_override) in literals {
out.push(HoverItem::Text {
label: label_override.unwrap_or_else(|| format!("{ty}")),
label: label_override.unwrap_or_else(|| ty.to_string()),
value: literal,
color: HoverItemColor::Normal,
});