mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-20 07:19:25 +00:00
xml: Comprehensive refactoring from byte strings to strings
This commit is contained in:
@@ -23,9 +23,9 @@ pub use xml_derive::PropName;
|
||||
pub use xml_derive::XmlRootTag;
|
||||
|
||||
pub trait XmlRootTag {
|
||||
fn root_tag() -> &'static [u8];
|
||||
fn root_tag() -> &'static str;
|
||||
fn root_ns() -> Option<Namespace<'static>>;
|
||||
fn root_ns_prefixes() -> HashMap<Namespace<'static>, &'static [u8]>;
|
||||
fn root_ns_prefixes() -> HashMap<Namespace<'static>, &'static str>;
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
||||
Reference in New Issue
Block a user