From 2ffc3eac4da67c82db0d7dbc361295a047139499 Mon Sep 17 00:00:00 2001 From: BlackDex Date: Wed, 6 Nov 2019 20:34:52 +0100 Subject: [PATCH] Clippy fix --- src/api/icons.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/icons.rs b/src/api/icons.rs index 0bac31c0..a6f63b56 100644 --- a/src/api/icons.rs +++ b/src/api/icons.rs @@ -112,7 +112,7 @@ fn get_icon(domain: &str) -> Vec { } Err(e) => { error!("Error downloading icon: {:?}", e); - let miss_indicator = path.to_owned() + ".miss"; + let miss_indicator = path + ".miss"; let empty_icon = Vec::new(); save_icon(&miss_indicator, &empty_icon); FALLBACK_ICON.to_vec()