File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ pub enum BinaryOperator {
6060 Minus ,
6161 Multiply ,
6262 Divide ,
63- Modulus ,
63+ Modulo ,
6464 StringConcat ,
6565 Gt ,
6666 Lt ,
@@ -94,7 +94,7 @@ impl fmt::Display for BinaryOperator {
9494 BinaryOperator :: Minus => "-" ,
9595 BinaryOperator :: Multiply => "*" ,
9696 BinaryOperator :: Divide => "/" ,
97- BinaryOperator :: Modulus => "%" ,
97+ BinaryOperator :: Modulo => "%" ,
9898 BinaryOperator :: StringConcat => "||" ,
9999 BinaryOperator :: Gt => ">" ,
100100 BinaryOperator :: Lt => "<" ,
Original file line number Diff line number Diff line change @@ -855,7 +855,7 @@ impl<'a> Parser<'a> {
855855 Token :: Plus => Some ( BinaryOperator :: Plus ) ,
856856 Token :: Minus => Some ( BinaryOperator :: Minus ) ,
857857 Token :: Mult => Some ( BinaryOperator :: Multiply ) ,
858- Token :: Mod => Some ( BinaryOperator :: Modulus ) ,
858+ Token :: Mod => Some ( BinaryOperator :: Modulo ) ,
859859 Token :: StringConcat => Some ( BinaryOperator :: StringConcat ) ,
860860 Token :: Pipe => Some ( BinaryOperator :: BitwiseOr ) ,
861861 Token :: Caret => Some ( BinaryOperator :: BitwiseXor ) ,
You can’t perform that action at this time.
0 commit comments