Skip to content

Commit e60b518

Browse files
clippy
1 parent 2f3592f commit e60b518

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • devolutions-gateway/src/api

devolutions-gateway/src/api/net.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -420,17 +420,17 @@ impl EventFilter {
420420
return false;
421421
}
422422

423-
return true;
423+
true
424424
}
425-
ScanEvent::Host { .. } => return true,
426-
_ => return false,
425+
ScanEvent::Host { .. } => true,
426+
_ => false,
427427
},
428428
NetworkScanResponse::Entry { status, .. } => {
429429
if matches!(status, Status::Failed) && !self.enable_failure {
430430
return false;
431431
}
432432

433-
return true;
433+
true
434434
}
435435
}
436436
}

0 commit comments

Comments
 (0)