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:
parent
f76b8a32ca
commit
b8010be26b
2 changed files with 20 additions and 11 deletions
|
@ -354,8 +354,8 @@ struct Icon {
|
|||
impl Icon {
|
||||
const fn new(priority: u8, href: String) -> Self {
|
||||
Self {
|
||||
href,
|
||||
priority,
|
||||
href,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue