mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 23:01:04 +02:00
refactor: fix some strict clippy warnings
This commit is contained in:
parent
bd9b3af5bc
commit
ca524f19f6
13 changed files with 28 additions and 33 deletions
|
@ -140,7 +140,7 @@ pub async fn create_client() -> Result<Arc<Client>> {
|
|||
spawn(async move {
|
||||
if let Err(error) = client.run().await {
|
||||
error!("{}", error);
|
||||
};
|
||||
}
|
||||
});
|
||||
}
|
||||
Ok(client)
|
||||
|
|
|
@ -157,7 +157,7 @@ impl Client {
|
|||
Event::Toplevel(event) => toplevel_tx.send_expect(event),
|
||||
#[cfg(feature = "clipboard")]
|
||||
Event::Clipboard(item) => clipboard_tx.send_expect(item),
|
||||
};
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue