mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 14:51:04 +02:00
refactor: update to rust 2024, fix strict clippy warnings
This commit is contained in:
parent
79c917857c
commit
202c19efd4
57 changed files with 132 additions and 124 deletions
|
@ -65,7 +65,10 @@ impl Module<gtk::Box> for TrayModule {
|
|||
let client = context.try_client::<tray::Client>()?;
|
||||
let mut tray_rx = client.subscribe();
|
||||
|
||||
let initial_items = lock!(client.items()).clone();
|
||||
let initial_items = {
|
||||
let items = client.items();
|
||||
lock!(items).clone()
|
||||
};
|
||||
|
||||
// listen to tray updates
|
||||
spawn(async move {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue