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
parent f76b8a32ca
commit b8010be26b
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,
}
}
}