This commit is contained in:
Patrick Lühne 2020-04-06 13:36:58 +02:00
parent c8ca7ba337
commit dc27ab8aeb
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -86,7 +86,7 @@ fn requires_parentheses<'formula>(formula: &'formula crate::Formula,
},
_ => false,
},
Formula::Or(formulas) => match *parent_formula
Formula::IfAndOnlyIf(formulas) => match *parent_formula
{
Formula::Not(_)
| Formula::Exists(_)