mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-09 03:17:55 +00:00
Merge pull request #6 from paulhauner/opt-cond-merge
Fix merge conflict
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