From 5f6091528fddf599569a3289f2ff6581bc89bc4d Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 2 Mar 2023 16:05:35 +0100 Subject: [PATCH] Implement ToXml for str instead of &str --- instant-xml/src/impls.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instant-xml/src/impls.rs b/instant-xml/src/impls.rs index 4cf85da..da144dd 100644 --- a/instant-xml/src/impls.rs +++ b/instant-xml/src/impls.rs @@ -489,7 +489,7 @@ impl ToXml for char { } } -impl ToXml for &str { +impl ToXml for str { fn serialize( &self, field: Option>,