Clippy fix

This commit is contained in:
BlackDex 2019-11-06 20:34:52 +01:00
parent 0ff7fd939e
commit 2ffc3eac4d

View File

@ -112,7 +112,7 @@ fn get_icon(domain: &str) -> Vec<u8> {
} }
Err(e) => { Err(e) => {
error!("Error downloading icon: {:?}", e); error!("Error downloading icon: {:?}", e);
let miss_indicator = path.to_owned() + ".miss"; let miss_indicator = path + ".miss";
let empty_icon = Vec::new(); let empty_icon = Vec::new();
save_icon(&miss_indicator, &empty_icon); save_icon(&miss_indicator, &empty_icon);
FALLBACK_ICON.to_vec() FALLBACK_ICON.to_vec()