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.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/components/script/dom/comment.rs b/components/script/dom/comment.rs
index 3eb6175e20c..9901a834a41 100644
--- a/components/script/dom/comment.rs
+++ b/components/script/dom/comment.rs
@@ -27,9 +27,11 @@ impl Comment {
}
pub fn new(text: DOMString, document: &Document) -> DomRoot<Comment> {
- Node::reflect_node(Box::new(Comment::new_inherited(text, document)),
- document,
- CommentBinding::Wrap)
+ Node::reflect_node(
+ Box::new(Comment::new_inherited(text, document)),
+ document,
+ CommentBinding::Wrap,
+ )
}
pub fn Constructor(window: &Window, data: DOMString) -> Fallible<DomRoot<Comment>> {