mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 01:12:24 +00:00
xml: Replace Unit with ()
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use rustical_xml::{de::XmlDocument, Unit, XmlDeserialize, XmlRootTag};
|
||||
use rustical_xml::{de::XmlDocument, XmlDeserialize, XmlRootTag};
|
||||
|
||||
#[test]
|
||||
fn test_struct_tagged_enum() {
|
||||
@@ -78,7 +78,7 @@ fn test_tagged_enum_complex() {
|
||||
|
||||
#[derive(Debug, XmlDeserialize, PartialEq)]
|
||||
struct Nice {
|
||||
nice: Unit,
|
||||
nice: (),
|
||||
}
|
||||
|
||||
let asd = Propfind::parse_str(
|
||||
@@ -94,7 +94,6 @@ fn test_tagged_enum_complex() {
|
||||
"#,
|
||||
)
|
||||
.unwrap();
|
||||
dbg!(asd);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user