Skip to content

Commit

Permalink
refactor: Fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
marhkb committed Dec 18, 2024
1 parent 1f95482 commit de3c556
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/model/key_val.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ mod imp {

#[derive(Debug, Default, Properties)]
#[properties(wrapper_type = super::KeyVal)]

pub(crate) struct KeyVal {
#[property(get, set)]
pub(super) key: RefCell<String>,
Expand Down
1 change: 0 additions & 1 deletion src/model/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ mod imp {

#[derive(Debug, Default, Properties)]
#[properties(wrapper_type = super::Process)]

pub(crate) struct Process {
#[property(get, set, construct_only, nullable)]
pub(super) process_list: glib::WeakRef<model::ProcessList>,
Expand Down
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ impl<'a, C, P> Dialog<'a, C, P> {
}
}

impl<'a, C, P> Dialog<'a, C, P>
impl<C, P> Dialog<'_, C, P>
where
C: IsA<gtk::Widget>,
P: IsA<gtk::Widget>,
Expand Down

0 comments on commit de3c556

Please sign in to comment.