xml: Move XmlRoot implementation into dedicated derive macro

This commit is contained in:
Lennart
2024-12-22 12:44:19 +01:00
parent 9fe5c00687
commit 043ce8bcd0
5 changed files with 37 additions and 25 deletions

View File

@@ -86,4 +86,4 @@ pub trait XmlRootParseStr<'i>: XmlRoot + XmlDeserialize {
}
}
impl<'i, T: XmlRoot + XmlDeserialize> XmlRootParseStr<'i> for T {}
impl<T: XmlRoot + XmlDeserialize> XmlRootParseStr<'_> for T {}