mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 05:52:19 +00:00
xml: Rename XmlRoot to XmlRootTag
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
use rustical_xml::{XmlRoot, XmlSerialize};
|
||||
use rustical_xml::{XmlRootTag, XmlSerialize};
|
||||
use xml_derive::XmlDeserialize;
|
||||
|
||||
#[test]
|
||||
fn test_struct_document() {
|
||||
#[derive(Debug, XmlRoot, XmlSerialize, XmlDeserialize, PartialEq)]
|
||||
#[derive(Debug, XmlRootTag, XmlSerialize, XmlDeserialize, PartialEq)]
|
||||
#[xml(root = b"document")]
|
||||
struct Document {
|
||||
child: Child,
|
||||
|
||||
Reference in New Issue
Block a user