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")]