Browse Source

Remove unnecessary mut binding.

master
Sean Bowe 7 years ago
parent
commit
c31092ce7f
No known key found for this signature in database
GPG Key ID: 95684257D8F8B031
  1. 2
      src/circuit/num.rs

2
src/circuit/num.rs

@ -441,7 +441,7 @@ impl<E: Engine> Num<E> {
) -> Self
{
let newval = match (self.value, bit.get_value()) {
(Some(mut curval), Some(mut bval)) => {
(Some(mut curval), Some(bval)) => {
if bval {
curval.add_assign(&coeff);
}

Loading…
Cancel
Save