Skip to content

Commit fec4364

Browse files
committed
add missing commas
1 parent b2dca02 commit fec4364

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

naga/src/proc/constant_evaluator.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1817,14 +1817,14 @@ impl<'a> ConstantEvaluator<'a> {
18171817
} else {
18181818
a.wrapping_div(b)
18191819
}
1820-
}
1820+
},
18211821
BinaryOperator::Modulo => {
18221822
if b == 0 {
18231823
return Err(ConstantEvaluatorError::RemainderByZero);
18241824
} else {
18251825
a.wrapping_rem(b)
18261826
}
1827-
}
1827+
},
18281828
BinaryOperator::And => a & b,
18291829
BinaryOperator::ExclusiveOr => a ^ b,
18301830
BinaryOperator::InclusiveOr => a | b,

0 commit comments

Comments
 (0)