aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlackDex <[email protected]>2019-11-06 20:34:52 +0100
committerBlackDex <[email protected]>2019-11-06 20:34:52 +0100
commit2ffc3eac4da67c82db0d7dbc361295a047139499 (patch)
tree0e3a1494a552e15b364793587e11c208b80e0652
parent0ff7fd939e9afe2197bb53eb37bce7d2b62f0b7f (diff)
downloadvaultwarden-2ffc3eac4da67c82db0d7dbc361295a047139499.tar.gz
vaultwarden-2ffc3eac4da67c82db0d7dbc361295a047139499.zip
Clippy fix
-rw-r--r--src/api/icons.rs2
1 files changed, 1 insertions, 1 deletions
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<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()