Implement ToXml for str instead of &str
This commit is contained in:
parent
3cfd2e4706
commit
5f6091528f
|
@ -489,7 +489,7 @@ impl ToXml for char {
|
|||
}
|
||||
}
|
||||
|
||||
impl ToXml for &str {
|
||||
impl ToXml for str {
|
||||
fn serialize<W: fmt::Write + ?Sized>(
|
||||
&self,
|
||||
field: Option<Id<'_>>,
|
||||
|
|
Loading…
Reference in New Issue