From 1f9e7262e7c4765b32ccf47203cb1e367ecc9f32 Mon Sep 17 00:00:00 2001 From: tu6ge Date: Thu, 19 Sep 2024 15:12:47 +0800 Subject: [PATCH] style --- src/error.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/error.rs b/src/error.rs index febe897..23a85e7 100644 --- a/src/error.rs +++ b/src/error.rs @@ -64,6 +64,7 @@ impl Display for OssError { #[derive(Debug, Deserialize)] #[serde(rename = "Error")] +#[allow(dead_code)] pub struct ServiceXML { #[serde(rename = "Code")] code: String, @@ -79,7 +80,7 @@ pub struct ServiceXML { } impl ServiceXML { fn new(xml: &str) -> Result { - println!("{xml}"); + //println!("{xml}"); serde_xml_rs::from_str(xml) } }