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 {