commit 2ffc3eac4da67c82db0d7dbc361295a047139499
parent 0ff7fd939e9afe2197bb53eb37bce7d2b62f0b7f
Author: BlackDex <black.dex@gmail.com>
Date: Wed, 6 Nov 2019 20:34:52 +0100
Clippy fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/api/icons.rs b/src/api/icons.rs
@@ -112,7 +112,7 @@ fn get_icon(domain: &str) -> Vec<u8> {
}
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()