mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-05-17 21:27:16 +02:00
Cargo fmt
This commit is contained in:
@@ -25,11 +25,7 @@ pub struct ActionMetadata {
|
||||
}
|
||||
|
||||
fn default_hotkey(mac: &str, other: &str) -> Option<String> {
|
||||
if cfg!(target_os = "macos") {
|
||||
Some(mac.into())
|
||||
} else {
|
||||
Some(other.into())
|
||||
}
|
||||
if cfg!(target_os = "macos") { Some(mac.into()) } else { Some(other.into()) }
|
||||
}
|
||||
|
||||
/// All global actions with their metadata, used by `list_actions` RPC.
|
||||
|
||||
Reference in New Issue
Block a user