diff options
author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2016-01-03 18:07:09 +0100 |
---|---|---|
committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2016-01-03 18:07:09 +0100 |
commit | 99ac1a81cca4e72e69a7cbe54d23b9d30431d2b3 (patch) | |
tree | 6890d15f17526a511766cf3e87a963d40146c7df /components/script/dom/htmlformelement.rs | |
parent | efb145e74498529dff58742595098c0b40618f7f (diff) | |
download | servo-99ac1a81cca4e72e69a7cbe54d23b9d30431d2b3.tar.gz servo-99ac1a81cca4e72e69a7cbe54d23b9d30431d2b3.zip |
Generate PartialEq automatically
Diffstat (limited to 'components/script/dom/htmlformelement.rs')
-rw-r--r-- | components/script/dom/htmlformelement.rs | 6 |
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>, |