Add blanket implementation for FromXmlOwned
This commit is contained in:
parent
ae2128a77e
commit
d4dd0251f1
|
@ -65,6 +65,8 @@ pub fn to_writer(
|
|||
|
||||
pub trait FromXmlOwned: for<'xml> FromXml<'xml> {}
|
||||
|
||||
impl<T> FromXmlOwned for T where T: for<'xml> FromXml<'xml> {}
|
||||
|
||||
#[derive(Clone, Debug, Eq, Error, PartialEq)]
|
||||
pub enum Error {
|
||||
#[error("format: {0}")]
|
||||
|
|
Loading…
Reference in New Issue