1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-09-09 19:22:42 +00:00

Extract some FromDb trait impls outside the macros so they aren't repeated, and fix some clippy lints

This commit is contained in:
Daniel García 2021-05-02 17:49:25 +02:00
commit b8010be26b
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
2 changed files with 20 additions and 11 deletions

View file

@ -354,8 +354,8 @@ struct Icon {
impl Icon {
const fn new(priority: u8, href: String) -> Self {
Self {
href,
priority,
href,
}
}
}