1
0
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:
rabite0 2020-05-21 20:36:06 +02:00 committed by GitHub
commit f434936e62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,11 +33,7 @@ pub enum Events {
impl PartialEq for WidgetCore { impl PartialEq for WidgetCore {
fn eq(&self, other: &WidgetCore) -> bool { fn eq(&self, other: &WidgetCore) -> bool {
if self.coordinates == other.coordinates { self.coordinates == other.coordinates
true
} else {
false
}
} }
} }