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

@ -73,12 +73,6 @@ pub struct HTMLInputElement {
activation_state: DOMRefCell<InputActivationState>,
}
impl PartialEq for HTMLInputElement {
fn eq(&self, other: &HTMLInputElement) -> bool {
self as *const HTMLInputElement == &*other
}
}
#[derive(JSTraceable)]
#[must_root]
#[derive(HeapSizeOf)]