Merge pull request #6 from paulhauner/opt-cond-merge

Fix merge conflict
This commit is contained in:
ethDreamer
2022-03-01 00:10:45 -06:00
committed by GitHub

View File

@@ -40,10 +40,6 @@ pub enum ExecutionStatus {
}
impl ExecutionStatus {
pub fn is_valid(&self) -> bool {
matches!(self, ExecutionStatus::Valid(_))
}
pub fn is_execution_enabled(&self) -> bool {
!matches!(self, ExecutionStatus::Irrelevant(_))
}