xso: Apply clippy’s suggestions
This commit is contained in:
parent
ca53892e66
commit
6e1f24c385
2 changed files with 8 additions and 11 deletions
|
|
@ -231,7 +231,7 @@ impl AsXmlText for &str {
|
|||
|
||||
impl<T: AsXmlText> AsXmlText for Box<T> {
|
||||
fn as_xml_text(&self) -> Result<Cow<'_, str>, self::error::Error> {
|
||||
T::as_xml_text(&*self)
|
||||
T::as_xml_text(self)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue