aboutsummaryrefslogtreecommitdiffstats
path: root/src/xml/mod.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2025-04-03 03:24:28 +0100
committerLibravatar cel 🌸 <cel@bunny.garden>2025-04-03 03:24:28 +0100
commit54ed5c978e018276c79c211cbfa31bd908cf4c5e (patch)
tree0897259de3820a13ff8b485164fadef4c4d62ef2 /src/xml/mod.rs
parent9c561014f3c4278c0991290c898713f8e9c928e8 (diff)
downloadpeanuts-54ed5c978e018276c79c211cbfa31bd908cf4c5e.tar.gz
peanuts-54ed5c978e018276c79c211cbfa31bd908cf4c5e.tar.bz2
peanuts-54ed5c978e018276c79c211cbfa31bd908cf4c5e.zip
fix: namespace prefix should not include 'xmlns:'HEADmain
Diffstat (limited to '')
-rw-r--r--src/xml/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/mod.rs b/src/xml/mod.rs
index b0d9056..005a122 100644
--- a/src/xml/mod.rs
+++ b/src/xml/mod.rs
@@ -328,7 +328,7 @@ impl<'s> Deref for CharData<'s> {
/// [15] Comment ::= '<!--' ((Char - '-') | ('-' (Char - '-')))* '-->'
#[derive(Clone, Debug, PartialEq, Eq)]
#[repr(transparent)]
-pub struct Comment<'s>(&'s str);
+pub struct Comment<'s>(pub(crate) &'s str);
impl<'s> Deref for Comment<'s> {
type Target = &'s str;