aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/comment.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/comment.rs')
-rw-r--r--components/script/dom/comment.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/comment.rs b/components/script/dom/comment.rs
index 00079673c7e..06750f4a67f 100644
--- a/components/script/dom/comment.rs
+++ b/components/script/dom/comment.rs
@@ -34,6 +34,7 @@ impl Comment {
)
}
+ #[allow(non_snake_case)]
pub fn Constructor(window: &Window, data: DOMString) -> Fallible<DomRoot<Comment>> {
let document = window.Document();
Ok(Comment::new(data, &document))