This commit is contained in:
2020-04-09 16:07:31 +02:00
parent c8ca7ba337
commit dc27ab8aeb
+1 -1
View File
@@ -86,7 +86,7 @@ fn requires_parentheses<'formula>(formula: &'formula crate::Formula,
}, },
_ => false, _ => false,
}, },
Formula::Or(formulas) => match *parent_formula Formula::IfAndOnlyIf(formulas) => match *parent_formula
{ {
Formula::Not(_) Formula::Not(_)
| Formula::Exists(_) | Formula::Exists(_)