Generate PartialEq automatically

This commit is contained in:
Guillaume Gomez 2016-01-03 18:07:09 +01:00
parent efb145e744
commit 99ac1a81cc
8 changed files with 6 additions and 42 deletions

View file

@ -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>,