From 8977d299bedac7b4d58e503d7304dc4dde907e72 Mon Sep 17 00:00:00 2001 From: Brady Fomegne Date: Sun, 14 Apr 2024 23:42:43 +0100 Subject: [PATCH] chore: remove default trait impl in `src/rstk_ext.rs` (#65) remove useless default trait implementation --- src/rstk_ext.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/rstk_ext.rs b/src/rstk_ext.rs index 1e24b11..d07c5d4 100644 --- a/src/rstk_ext.rs +++ b/src/rstk_ext.rs @@ -34,7 +34,7 @@ impl Style { } pub trait TkWidgetExt { - fn style(&self, _style: &Style) {} + fn style(&self, _style: &Style); } impl TkWidgetExt for T { @@ -48,9 +48,9 @@ impl TkWidgetExt for T { } pub trait TkTopLevelExt { - fn border(&self, _value: bool) {} - fn topmost(&self, _value: bool) {} - fn position(&self, _x: u64, _y: u64) {} + fn border(&self, _value: bool); + fn topmost(&self, _value: bool); + fn position(&self, _x: u64, _y: u64); } impl TkTopLevelExt for TkTopLevel {