From cb372f9b9d8fe2d136962b02332d265d1479610b Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Wed, 6 Oct 2021 19:06:28 +0200 Subject: [PATCH] fix(inject): fix warning --- espanso-inject/src/lib.rs | 1 + 1 file changed, 1 insertion(+) 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") {