From 7529c9de38d03a31bbe24d9c31305cff0882940f Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Wed, 6 Oct 2021 18:38:23 +0200 Subject: [PATCH] style(info): fix formatting --- espanso-info/src/cocoa/mod.rs | 2 +- espanso-info/src/lib.rs | 4 ++-- espanso-info/src/wayland/mod.rs | 2 +- espanso-info/src/x11/mod.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/espanso-info/src/cocoa/mod.rs b/espanso-info/src/cocoa/mod.rs index 1cd1cf5..16f40c9 100644 --- a/espanso-info/src/cocoa/mod.rs +++ b/espanso-info/src/cocoa/mod.rs @@ -104,4 +104,4 @@ impl CocoaAppInfoProvider { None } } -} \ No newline at end of file +} diff --git a/espanso-info/src/lib.rs b/espanso-info/src/lib.rs index 715045d..2e2767c 100644 --- a/espanso-info/src/lib.rs +++ b/espanso-info/src/lib.rs @@ -42,7 +42,7 @@ pub trait AppInfoProvider { pub struct AppInfo { pub title: Option, pub exec: Option, - pub class: Option, + pub class: Option, } #[cfg(target_os = "windows")] @@ -69,4 +69,4 @@ pub fn get_provider() -> Result> { pub fn get_provider() -> Result> { info!("using WaylandAppInfoProvider"); Ok(Box::new(wayland::WaylandAppInfoProvider::new())) -} \ No newline at end of file +} diff --git a/espanso-info/src/wayland/mod.rs b/espanso-info/src/wayland/mod.rs index 84c2dbf..e4cb3c6 100644 --- a/espanso-info/src/wayland/mod.rs +++ b/espanso-info/src/wayland/mod.rs @@ -17,7 +17,7 @@ * along with espanso. If not, see . */ -use crate::{AppInfoProvider, AppInfo}; +use crate::{AppInfo, AppInfoProvider}; pub(crate) struct WaylandAppInfoProvider {} diff --git a/espanso-info/src/x11/mod.rs b/espanso-info/src/x11/mod.rs index 6649940..54a64c7 100644 --- a/espanso-info/src/x11/mod.rs +++ b/espanso-info/src/x11/mod.rs @@ -88,4 +88,4 @@ impl X11AppInfoProvider { None } } -} \ No newline at end of file +}