fix(inject): fix warning
This commit is contained in:
parent
638863170c
commit
cb372f9b9d
|
@ -65,6 +65,7 @@ pub struct InjectionOptions {
|
||||||
|
|
||||||
impl Default for InjectionOptions {
|
impl Default for InjectionOptions {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
|
#[allow(clippy::if_same_then_else)]
|
||||||
let default_delay = if cfg!(target_os = "windows") {
|
let default_delay = if cfg!(target_os = "windows") {
|
||||||
0
|
0
|
||||||
} else if cfg!(target_os = "macos") {
|
} else if cfg!(target_os = "macos") {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user