Skip to content

Commit

Permalink
Merge pull request #850 from marhkb:refactor/clippy-fixes
Browse files Browse the repository at this point in the history
refactor: Fix clippy lints
  • Loading branch information
marhkb authored Dec 18, 2024
2 parents 1f95482 + de3c556 commit d35da89
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 d35da89

Please sign in to comment.