diff options
author | 2025-04-03 03:24:28 +0100 | |
---|---|---|
committer | 2025-04-03 03:24:28 +0100 | |
commit | 54ed5c978e018276c79c211cbfa31bd908cf4c5e (patch) | |
tree | 0897259de3820a13ff8b485164fadef4c4d62ef2 /src/xml/mod.rs | |
parent | 9c561014f3c4278c0991290c898713f8e9c928e8 (diff) | |
download | peanuts-54ed5c978e018276c79c211cbfa31bd908cf4c5e.tar.gz peanuts-54ed5c978e018276c79c211cbfa31bd908cf4c5e.tar.bz2 peanuts-54ed5c978e018276c79c211cbfa31bd908cf4c5e.zip |
Diffstat (limited to '')
-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; |