diff options
Diffstat (limited to 'src/xml/mod.rs')
-rw-r--r-- | src/xml/mod.rs | 2 |
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; |