mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 14:51:04 +02:00
refactor: fix clippy warnings
This commit is contained in:
parent
10b3b01e5b
commit
1b35354272
4 changed files with 12 additions and 13 deletions
|
@ -243,7 +243,7 @@ impl Module<gtk::Box> for CustomModule {
|
|||
context.button_id = popup_buttons
|
||||
.borrow()
|
||||
.first()
|
||||
.map_or(usize::MAX, |button| button.popup_id());
|
||||
.map_or(usize::MAX, PopupButton::popup_id);
|
||||
|
||||
let popup = self
|
||||
.into_popup(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue