vaultwarden/src/db/models
BlackDex 55d7c48b1d
Add more clippy checks for better code/readability
A bit inspired by @paolobarbolini from this commit at lettre https://github.com/lettre/lettre/pull/784 .
I added a few more clippy lints here, and fixed the resulted issues.

Overall i think this could help in preventing future issues, and maybe
even peformance problems. It also makes some code a bit more clear.

We could always add more if we want to, i left a few out which i think
arn't that huge of an issue. Some like the `unused_async` are nice,
which resulted in a few `async` removals.

Some others are maybe a bit more estatic, like `string_to_string`, but i
think it looks better to use `clone` in those cases instead of `to_string` while they already are a string.
2022-07-10 16:39:38 +02:00
..
attachment.rs Improve sync speed and updated dep. versions 2022-05-06 17:01:02 +02:00
cipher.rs Improve sync speed and updated dep. versions 2022-05-06 17:01:02 +02:00
collection.rs Improve sync speed and updated dep. versions 2022-05-06 17:01:02 +02:00
device.rs Add more clippy checks for better code/readability 2022-07-10 16:39:38 +02:00
emergency_access.rs Improve sync speed and updated dep. versions 2022-05-06 17:01:02 +02:00
favorite.rs Improve sync speed and updated dep. versions 2022-05-06 17:01:02 +02:00
folder.rs Improve sync speed and updated dep. versions 2022-05-06 17:01:02 +02:00
mod.rs Add email notifications for incomplete 2FA logins 2021-10-28 00:19:43 -07:00
org_policy.rs Updated deps and misc fixes and updates 2022-06-14 14:51:51 +02:00
organization.rs Improve sync speed and updated dep. versions 2022-05-06 17:01:02 +02:00
send.rs Add more clippy checks for better code/readability 2022-07-10 16:39:38 +02:00
two_factor_incomplete.rs Improve sync speed and updated dep. versions 2022-05-06 17:01:02 +02:00
two_factor.rs Improve sync speed and updated dep. versions 2022-05-06 17:01:02 +02:00
user.rs Add more clippy checks for better code/readability 2022-07-10 16:39:38 +02:00