mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-18 15:21:03 +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
|
@ -1,8 +1,8 @@
|
|||
use std::collections::HashMap;
|
||||
|
||||
use color_eyre::eyre::Report;
|
||||
use color_eyre::Result;
|
||||
use gtk::{prelude::*, Button};
|
||||
use color_eyre::eyre::Report;
|
||||
use gtk::{Button, prelude::*};
|
||||
use serde::Deserialize;
|
||||
use tokio::sync::mpsc;
|
||||
use tracing::{debug, trace};
|
||||
|
@ -217,7 +217,9 @@ impl Module<gtk::Box> for KeyboardModule {
|
|||
module_update!(tx, KeyboardUpdate::Layout(payload));
|
||||
}
|
||||
Err(tokio::sync::broadcast::error::RecvError::Lagged(count)) => {
|
||||
tracing::warn!("Channel lagged behind by {count}, this may result in unexpected or broken behaviour");
|
||||
tracing::warn!(
|
||||
"Channel lagged behind by {count}, this may result in unexpected or broken behaviour"
|
||||
);
|
||||
}
|
||||
Err(err) => {
|
||||
tracing::error!("{err:?}");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue