style(info): fix formatting

This commit is contained in:
Federico Terzi 2021-10-06 18:38:23 +02:00
parent 8fe508bf93
commit 7529c9de38
4 changed files with 5 additions and 5 deletions

View File

@ -104,4 +104,4 @@ impl CocoaAppInfoProvider {
None None
} }
} }
} }

View File

@ -42,7 +42,7 @@ pub trait AppInfoProvider {
pub struct AppInfo { pub struct AppInfo {
pub title: Option<String>, pub title: Option<String>,
pub exec: Option<String>, pub exec: Option<String>,
pub class: Option<String>, pub class: Option<String>,
} }
#[cfg(target_os = "windows")] #[cfg(target_os = "windows")]
@ -69,4 +69,4 @@ pub fn get_provider() -> Result<Box<dyn AppInfoProvider>> {
pub fn get_provider() -> Result<Box<dyn AppInfoProvider>> { pub fn get_provider() -> Result<Box<dyn AppInfoProvider>> {
info!("using WaylandAppInfoProvider"); info!("using WaylandAppInfoProvider");
Ok(Box::new(wayland::WaylandAppInfoProvider::new())) Ok(Box::new(wayland::WaylandAppInfoProvider::new()))
} }

View File

@ -17,7 +17,7 @@
* along with espanso. If not, see <https://www.gnu.org/licenses/>. * along with espanso. If not, see <https://www.gnu.org/licenses/>.
*/ */
use crate::{AppInfoProvider, AppInfo}; use crate::{AppInfo, AppInfoProvider};
pub(crate) struct WaylandAppInfoProvider {} pub(crate) struct WaylandAppInfoProvider {}

View File

@ -88,4 +88,4 @@ impl X11AppInfoProvider {
None None
} }
} }
} }