mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Generate PartialEq automatically
This commit is contained in:
parent
efb145e744
commit
99ac1a81cc
8 changed files with 6 additions and 42 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue