Skip to content

Commit

Permalink
appeasing nightly clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachJHansen committed Nov 13, 2024
1 parent 062276e commit f601f30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/syntax_tree/fol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ impl Formula {
lhs: acc.into(),
rhs: e.into(),
})
.unwrap_or_else(|| Formula::AtomicFormula(AtomicFormula::Truth))
.unwrap_or(Formula::AtomicFormula(AtomicFormula::Truth))
}

/// Recursively turn a list of formulas into a tree of disjunctions
Expand All @@ -690,7 +690,7 @@ impl Formula {
lhs: acc.into(),
rhs: e.into(),
})
.unwrap_or_else(|| Formula::AtomicFormula(AtomicFormula::Falsity))
.unwrap_or(Formula::AtomicFormula(AtomicFormula::Falsity))
}

pub fn variables(&self) -> IndexSet<Variable> {
Expand Down

0 comments on commit f601f30

Please sign in to comment.