diff options
| -rw-r--r-- | .github/workflows/rust.yml | 2 | ||||
| -rw-r--r-- | src/config.rs | 2 | ||||
| -rw-r--r-- | src/i3bar_protocol.rs | 2 | ||||
| -rw-r--r-- | src/wm_info_provider/river.rs | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a7e66aa..7a31858 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -36,7 +36,7 @@ jobs: with: components: rustfmt - name: Fmt check - run: rustfmt --check --edition 2021 $(fdfind -e rs) + run: rustfmt --check --edition 2024 $(fdfind -e rs) clippy: name: Clippy diff --git a/src/config.rs b/src/config.rs index 48855c8..e4b82cf 100644 --- a/src/config.rs +++ b/src/config.rs @@ -2,7 +2,7 @@ use crate::color::Color; use crate::protocol::{zwlr_layer_shell_v1, zwlr_layer_surface_v1}; use anyhow::{Context, Result}; use pangocairo::pango::FontDescription; -use serde::{de, Deserialize}; +use serde::{Deserialize, de}; use std::collections::HashMap; use std::fs::read_to_string; use std::ops::Deref; diff --git a/src/i3bar_protocol.rs b/src/i3bar_protocol.rs index d6b401b..8aee9af 100644 --- a/src/i3bar_protocol.rs +++ b/src/i3bar_protocol.rs @@ -2,7 +2,7 @@ use crate::color::Color; use crate::pointer_btn::PointerBtn; use crate::text::Align; use crate::utils::{de_first_json, de_last_json, last_line}; -use serde::{de, Deserialize, Serialize}; +use serde::{Deserialize, Serialize, de}; use std::io::{self, Error, ErrorKind}; #[derive(Clone, Deserialize, Default, Debug)] diff --git a/src/wm_info_provider/river.rs b/src/wm_info_provider/river.rs index 9cf8c47..9af3385 100644 --- a/src/wm_info_provider/river.rs +++ b/src/wm_info_provider/river.rs @@ -1,7 +1,7 @@ use std::ffi::CString; -use wayrs_client::proxy::Proxy; use wayrs_client::EventCtx; +use wayrs_client::proxy::Proxy; use super::*; |
