mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-09-10 02:35:58 +03:00
Extract some FromDb trait impls outside the macros so they aren't repeated, and fix some clippy lints
This commit is contained in:
@@ -354,8 +354,8 @@ struct Icon {
|
||||
impl Icon {
|
||||
const fn new(priority: u8, href: String) -> Self {
|
||||
Self {
|
||||
href,
|
||||
priority,
|
||||
href,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user