We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58a42f7 commit e6a2ba6Copy full SHA for e6a2ba6
1 file changed
src/policy/semantic.rs
@@ -498,8 +498,9 @@ impl<'a> MathParser<'a> {
498
parser.next();
499
let mut frame = frames.pop().unwrap();
500
let op = match frame.kind {
501
- Kind::Group(op) => op
502
- .ok_or_else(|| malformed_math("group with no operator"))?,
+ Kind::Group(op) => {
+ op.ok_or_else(|| malformed_math("group with no operator"))?
503
+ }
504
Kind::Thresh => {
505
return Err(malformed_math("')' closing a '#{...}' threshold"))
506
}
0 commit comments