style: fix 1.67 clippy warnings

This commit is contained in:
Jake Stanger
2023-01-28 14:40:31 +00:00
parent 90cd078973
commit eb30105fc2
6 changed files with 19 additions and 24 deletions

View File

@@ -101,8 +101,7 @@ fn get_icon_location(theme: &IconTheme, app_id: &str, size: i32) -> Option<IconL
return match dirs::data_dir() {
Some(dir) => {
let path = dir.join(format!(
"icons/hicolor/32x32/apps/steam_icon_{}.png",
steam_id
"icons/hicolor/32x32/apps/steam_icon_{steam_id}.png"
));
return Some(IconLocation::File(path));