From b0e836a7e7f89bde5bdc79053bfc0349654021a4 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Wed, 6 Oct 2021 18:39:30 +0200 Subject: [PATCH] style(mac-utils): fix formatting --- espanso-mac-utils/src/lib.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/espanso-mac-utils/src/lib.rs b/espanso-mac-utils/src/lib.rs index 89dbee1..f3cfcca 100644 --- a/espanso-mac-utils/src/lib.rs +++ b/espanso-mac-utils/src/lib.rs @@ -91,16 +91,12 @@ fn get_app_name_from_path(path: &str) -> Option { #[cfg(target_os = "macos")] pub fn check_accessibility() -> bool { - unsafe { - ffi::mac_utils_check_accessibility() > 0 - } + unsafe { ffi::mac_utils_check_accessibility() > 0 } } #[cfg(target_os = "macos")] pub fn prompt_accessibility() -> bool { - unsafe { - ffi::mac_utils_prompt_accessibility() > 0 - } + unsafe { ffi::mac_utils_prompt_accessibility() > 0 } } #[cfg(target_os = "macos")]