aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bn/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bn/mod.rs b/src/bn/mod.rs
index 721fcea5..bcf6c104 100644
--- a/src/bn/mod.rs
+++ b/src/bn/mod.rs
@@ -463,7 +463,7 @@ pub mod unchecked {
}
impl Neg<BigNum> for BigNum {
- fn neg(&self) -> BigNum {
+ fn neg(self) -> BigNum {
let mut n = self.clone();
n.negate();
n