Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
matzemathics committed Oct 18, 2023
1 parent 28a4fb4 commit ed0c195
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,8 @@ where
/// Returns `true` if all conditions are satisfied.
fn check_conditions(&self, referenced_values: &[T]) -> bool {
for condition in &self.conditions {
if let Some(result) = condition.evaluate(referenced_values) {
if result {
continue;
}
if let Some(true) = condition.evaluate(referenced_values) {
continue;
}

return false;
Expand Down

0 comments on commit ed0c195

Please sign in to comment.