mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 14:51:04 +02:00
refactor: fix some pedantic clippy warnings
This commit is contained in:
parent
4d30819ff6
commit
04f45ccae1
12 changed files with 43 additions and 46 deletions
|
@ -169,7 +169,7 @@ impl Popup {
|
|||
button_id,
|
||||
orientation,
|
||||
&window,
|
||||
output_size.clone(),
|
||||
&output_size,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -202,7 +202,7 @@ impl Popup {
|
|||
button_id,
|
||||
self.pos.orientation(),
|
||||
&self.window,
|
||||
self.output_size.clone(),
|
||||
&self.output_size,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -230,7 +230,7 @@ impl Popup {
|
|||
button_id: usize,
|
||||
orientation: Orientation,
|
||||
window: &ApplicationWindow,
|
||||
output_size: Rc<RefCell<(i32, i32)>>,
|
||||
output_size: &Rc<RefCell<(i32, i32)>>,
|
||||
) {
|
||||
let button = buttons
|
||||
.iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue