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.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/comment.rs b/components/script/dom/comment.rs
index 86b82e0646c..aa0718390ed 100644
--- a/components/script/dom/comment.rs
+++ b/components/script/dom/comment.rs
@@ -42,7 +42,7 @@ impl Comment {
pub fn Constructor(global: &GlobalRef, data: DOMString) -> Fallible<Temporary<Comment>> {
let document = global.as_window().Document().root();
- Ok(Comment::new(data, *&*document))
+ Ok(Comment::new(data, *document))
}
}