diff options
author | Daniel García <[email protected]> | 2018-09-13 21:55:23 +0200 |
---|---|---|
committer | Daniel García <[email protected]> | 2018-09-13 21:55:23 +0200 |
commit | 8651df8c2a19feca2a5dc997d5eda2389305c9d8 (patch) | |
tree | f2d3671f9841bf84e98fa86c5b782b588159a1c0 /src/db/models/cipher.rs | |
parent | 948554a20fd46acc7155303985b9517607b246b9 (diff) | |
download | vaultwarden-8651df8c2a19feca2a5dc997d5eda2389305c9d8.tar.gz vaultwarden-8651df8c2a19feca2a5dc997d5eda2389305c9d8.zip |
Fixed some lint issues
Diffstat (limited to 'src/db/models/cipher.rs')
-rw-r--r-- | src/db/models/cipher.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/models/cipher.rs b/src/db/models/cipher.rs index 2941db00..9039c527 100644 --- a/src/db/models/cipher.rs +++ b/src/db/models/cipher.rs @@ -362,6 +362,6 @@ impl Cipher { ) )) .select(ciphers_collections::collection_uuid) - .load::<String>(&**conn).unwrap_or(vec![]) + .load::<String>(&**conn).unwrap_or_default() } } |