diff --git a/espanso-inject/src/lib.rs b/espanso-inject/src/lib.rs index dfd5748..6416216 100644 --- a/espanso-inject/src/lib.rs +++ b/espanso-inject/src/lib.rs @@ -65,6 +65,7 @@ pub struct InjectionOptions { impl Default for InjectionOptions { fn default() -> Self { + #[allow(clippy::if_same_then_else)] let default_delay = if cfg!(target_os = "windows") { 0 } else if cfg!(target_os = "macos") {