mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-03 12:54:27 +00:00
Fix compile issue from merge
This commit is contained in:
@@ -40,10 +40,6 @@ pub enum ExecutionStatus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl ExecutionStatus {
|
impl ExecutionStatus {
|
||||||
pub fn is_valid(&self) -> bool {
|
|
||||||
matches!(self, ExecutionStatus::Valid(_))
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn is_execution_enabled(&self) -> bool {
|
pub fn is_execution_enabled(&self) -> bool {
|
||||||
!matches!(self, ExecutionStatus::Irrelevant(_))
|
!matches!(self, ExecutionStatus::Irrelevant(_))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user