mirror of
https://github.com/servo/servo
synced 2026-04-30 19:37:43 +02:00
Generate PartialEq automatically
This commit is contained in:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user