style(mac-utils): fix formatting

This commit is contained in:
Federico Terzi 2021-10-06 18:39:30 +02:00
parent 9f368d8b87
commit b0e836a7e7

View File

@ -91,16 +91,12 @@ fn get_app_name_from_path(path: &str) -> Option<String> {
#[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")]