Skip to content

Commit

Permalink
chore: remove default trait impl in src/rstk_ext.rs (#65)
Browse files Browse the repository at this point in the history
remove useless default trait implementation
  • Loading branch information
pythonbrad authored Apr 14, 2024
1 parent 71e1d18 commit 8977d29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/rstk_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl Style {
}

pub trait TkWidgetExt {
fn style(&self, _style: &Style) {}
fn style(&self, _style: &Style);
}

impl<T: TkWidget> TkWidgetExt for T {
Expand All @@ -48,9 +48,9 @@ impl<T: TkWidget> 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 {
Expand Down

0 comments on commit 8977d29

Please sign in to comment.