summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.rs2
-rw-r--r--src/i3bar_protocol.rs2
-rw-r--r--src/wm_info_provider/river.rs2
3 files changed, 3 insertions, 3 deletions
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::*;