aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlformelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlformelement.rs')
-rw-r--r--components/script/dom/htmlformelement.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/components/script/dom/htmlformelement.rs b/components/script/dom/htmlformelement.rs
index 536b1e46c73..bb3e4a6bc2f 100644
--- a/components/script/dom/htmlformelement.rs
+++ b/components/script/dom/htmlformelement.rs
@@ -45,12 +45,6 @@ pub struct HTMLFormElement {
marked_for_reset: Cell<bool>,
}
-impl PartialEq for HTMLFormElement {
- fn eq(&self, other: &HTMLFormElement) -> bool {
- self as *const HTMLFormElement == &*other
- }
-}
-
impl HTMLFormElement {
fn new_inherited(localName: Atom,
prefix: Option<DOMString>,