mirror of
https://github.com/encounter/objdiff.git
synced 2025-12-19 09:55:28 +00:00
More clippy fixes
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user