mirror of
https://github.com/bobwen-dev/hunter
synced 2025-04-12 00:55:41 +02:00
Merge pull request #84 from snpefk/patch-1
µRefactor PartialEq for WidgetCore
This commit is contained in:
commit
f434936e62
@ -33,11 +33,7 @@ pub enum Events {
|
||||
|
||||
impl PartialEq for WidgetCore {
|
||||
fn eq(&self, other: &WidgetCore) -> bool {
|
||||
if self.coordinates == other.coordinates {
|
||||
true
|
||||
} else {
|
||||
false
|
||||
}
|
||||
self.coordinates == other.coordinates
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user