Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
tu6ge committed Sep 19, 2024
1 parent 1715cf5 commit 1f9e726
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -79,7 +80,7 @@ pub struct ServiceXML {
}
impl ServiceXML {
fn new(xml: &str) -> Result<Self, serde_xml_rs::Error> {
println!("{xml}");
//println!("{xml}");
serde_xml_rs::from_str(xml)
}
}

0 comments on commit 1f9e726

Please sign in to comment.