From 862c46c7ec8767ac19147494dd242171a6d72a38 Mon Sep 17 00:00:00 2001 From: Jake Stanger Date: Wed, 30 Nov 2022 22:49:49 +0000 Subject: [PATCH] style: run rustfmt d'oh --- src/bar.rs | 2 +- src/main.rs | 2 +- src/modules/custom.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bar.rs b/src/bar.rs index 938f0ca..48b178a 100644 --- a/src/bar.rs +++ b/src/bar.rs @@ -1,5 +1,6 @@ use crate::bridge_channel::BridgeChannel; use crate::config::{BarPosition, ModuleConfig}; +use crate::dynamic_string::DynamicString; use crate::modules::custom::ExecEvent; use crate::modules::launcher::{ItemEvent, LauncherUpdate}; use crate::modules::mpd::{PlayerCommand, SongUpdate}; @@ -7,7 +8,6 @@ use crate::modules::workspaces::WorkspaceUpdate; use crate::modules::{Module, ModuleInfoBuilder, ModuleLocation, ModuleUpdateEvent, WidgetContext}; use crate::popup::Popup; use crate::script::{OutputStream, Script}; -use crate::dynamic_string::DynamicString; use crate::{await_sync, Config}; use chrono::{DateTime, Local}; use color_eyre::Result; diff --git a/src/main.rs b/src/main.rs index 5c7e3fe..3b7011c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,13 +2,13 @@ mod bar; mod bridge_channel; mod clients; mod config; +mod dynamic_string; mod icon; mod logging; mod modules; mod popup; mod script; mod style; -mod dynamic_string; use crate::bar::create_bar; use crate::config::{Config, MonitorConfig}; diff --git a/src/modules/custom.rs b/src/modules/custom.rs index be08180..bd201e4 100644 --- a/src/modules/custom.rs +++ b/src/modules/custom.rs @@ -1,8 +1,8 @@ use crate::config::CommonConfig; +use crate::dynamic_string::DynamicString; use crate::modules::{Module, ModuleInfo, ModuleUpdateEvent, ModuleWidget, WidgetContext}; use crate::popup::{ButtonGeometry, Popup}; use crate::script::Script; -use crate::dynamic_string::DynamicString; use color_eyre::{Report, Result}; use gtk::prelude::*; use gtk::{Button, Label, Orientation};