fix(inject): fix warning

This commit is contained in:
Federico Terzi 2021-10-06 19:06:28 +02:00
parent 638863170c
commit cb372f9b9d

View File

@ -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") {