Skip to content

Commit 33a81cf

Browse files
committed
Refactored operator parser of binary_expression
1 parent e731337 commit 33a81cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rusty_parser/src/expr/binary_expression.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ fn operator() -> impl Parser<StringView, bool, Output = Positioned<Operator>, Er
7373
// no whitespace needed
7474
lead_opt_ws(operator_p()),
7575
// whitespace needed
76-
lead_ws(operator_p()).or(lead_opt_ws(symbol_operator_p())),
76+
symbol_operator_p().or(lead_ws(operator_p())),
7777
)
7878
}
7979

0 commit comments

Comments
 (0)