summaryrefslogtreecommitdiffstats
path: root/vendor/crypto-bigint/src/uint/modular/constant_mod/const_inv.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/crypto-bigint/src/uint/modular/constant_mod/const_inv.rs')
-rw-r--r--vendor/crypto-bigint/src/uint/modular/constant_mod/const_inv.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/crypto-bigint/src/uint/modular/constant_mod/const_inv.rs b/vendor/crypto-bigint/src/uint/modular/constant_mod/const_inv.rs
index 5c8da7b88..28f0622e2 100644
--- a/vendor/crypto-bigint/src/uint/modular/constant_mod/const_inv.rs
+++ b/vendor/crypto-bigint/src/uint/modular/constant_mod/const_inv.rs
@@ -62,7 +62,7 @@ mod tests {
let x_mod = const_residue!(x, Modulus);
let (inv, _is_some) = x_mod.invert();
- let res = &x_mod * &inv;
+ let res = x_mod * inv;
assert_eq!(res.retrieve(), U256::ONE);
}