1
0
Fork 0
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:
Jake Stanger 2024-04-01 16:33:38 +01:00
parent 10b3b01e5b
commit 1b35354272
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
4 changed files with 12 additions and 13 deletions

View file

@ -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(