Skip to content

Commit

Permalink
Minor macro formatting improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
doonv committed Dec 30, 2023
1 parent 4f1c2b9 commit cd8b43a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builtin_parser/number.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ macro_rules! impl_op {
(Number::Float(left), Number::Float(right)) => Ok(Number::Float(left $op right)),
(Number::f32(left), Number::Float(right)) => Ok(Number::f32(left $op right as f32)),
(Number::f64(left), Number::Float(right)) => Ok(Number::f64(left $op right as f64)),
_ => Err(RunError::IncompatibleNumberTypes {
_ => Err(RunError::IncompatibleNumberTypes {
left: left.kind(),
right: right.kind(),
span
Expand Down

0 comments on commit cd8b43a

Please sign in to comment.