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()