diff options
Diffstat (limited to 'components/script/dom/comment.rs')
-rw-r--r-- | components/script/dom/comment.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/comment.rs b/components/script/dom/comment.rs index a5b9fd4c43a..cfd75e08ae4 100644 --- a/components/script/dom/comment.rs +++ b/components/script/dom/comment.rs @@ -18,7 +18,7 @@ use crate::script_runtime::CanGc; /// An HTML comment. #[dom_struct] -pub struct Comment { +pub(crate) struct Comment { characterdata: CharacterData, } @@ -29,7 +29,7 @@ impl Comment { } } - pub fn new( + pub(crate) fn new( text: DOMString, document: &Document, proto: Option<HandleObject>, |