From 80b72e94ecb820024f0841801ff7cc47ecd739f0 Mon Sep 17 00:00:00 2001 From: Able Date: Wed, 3 May 2023 03:43:59 -0500 Subject: [PATCH] update v3 --- libraries/xml/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/xml/src/lib.rs b/libraries/xml/src/lib.rs index 1efb27a..c7a2546 100644 --- a/libraries/xml/src/lib.rs +++ b/libraries/xml/src/lib.rs @@ -18,14 +18,14 @@ pub struct Attribute { } impl fmt::Display for Attribute { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - write!(f, "{}={}", self.name, self.value)?; + write!(f, "{} = {}", self.name, self.value)?; Ok(()) } } impl Attribute { pub fn to_string(&self) -> String { - format!("{:?}={:?}", self.name, self.value) + format!("{} = {}", self.name, self.value) } } #[derive(Clone, PartialEq, Debug, Serialize, Deserialize)]