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 committed 2021-05-02 17:49:25 +02:00
1 parent f76b8a32ca
commit b8010be26b
2 files changed
+20 -11

No files matched your search

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