xml: Rename XmlRoot to XmlRootTag

This commit is contained in:
Lennart
2024-12-23 12:36:46 +01:00
parent b52a9f4fbe
commit 6721e876fa
7 changed files with 25 additions and 25 deletions

View File

@@ -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,