summaryrefslogtreecommitdiffstats
path: root/src/widget.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget.rs')
-rw-r--r--src/widget.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/widget.rs b/src/widget.rs
index e4dd677..0efcda7 100644
--- a/src/widget.rs
+++ b/src/widget.rs
@@ -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
}
}