mirror of
https://github.com/instant-labs/instant-xml.git
synced 2025-02-16 06:52:15 +00:00
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
Block a user