aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Weiss <[email protected]>2014-12-21 08:52:12 -0500
committerAaron Weiss <[email protected]>2014-12-21 08:52:12 -0500
commite2fa62e2ae7bce4bee4744aa8ea440d8777e6890 (patch)
tree5aef77ac1655533d6367d0897f7f7228c6a931fd /src
parentPrint unexpected error codes (diff)
downloadrust-openssl-e2fa62e2ae7bce4bee4744aa8ea440d8777e6890.tar.xz
rust-openssl-e2fa62e2ae7bce4bee4744aa8ea440d8777e6890.zip
Replaced now removed NativeMutex with StaticMutex, and fixed Neg
implementation for BigNum.
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