mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 01:12:24 +00:00
some changes to rustical_xml
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
use rustical_xml::XmlRoot;
|
||||
use std::io::BufRead;
|
||||
use xml_derive::XmlDeserialize;
|
||||
|
||||
#[test]
|
||||
@@ -11,7 +12,7 @@ fn test_struct_untagged_enum() {
|
||||
|
||||
#[derive(Debug, XmlDeserialize, PartialEq)]
|
||||
struct Prop {
|
||||
#[xml(untagged)]
|
||||
#[xml(ty = "untagged")]
|
||||
prop: PropEnum,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user