diff options
| author | Steven Fackler <[email protected]> | 2017-11-26 17:07:24 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2017-11-26 17:07:24 -0700 |
| commit | e9ad9f1afd0429dd56af8e59ec9ad74020ca15e3 (patch) | |
| tree | d825992569969ec07be9130a37561e8b5bc1471b /openssl/src/bn.rs | |
| parent | Merge pull request #779 from sfackler/revert-778-foreign-types (diff) | |
| download | rust-openssl-e9ad9f1afd0429dd56af8e59ec9ad74020ca15e3.tar.xz rust-openssl-e9ad9f1afd0429dd56af8e59ec9ad74020ca15e3.zip | |
Upgrade foreign-types
foreign-types 0.3 and 0.2 now share the same types and traits, so this
is backwards compatible.
Diffstat (limited to 'openssl/src/bn.rs')
| -rw-r--r-- | openssl/src/bn.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/openssl/src/bn.rs b/openssl/src/bn.rs index fc6e0bb8..82ec38b6 100644 --- a/openssl/src/bn.rs +++ b/openssl/src/bn.rs @@ -1090,12 +1090,6 @@ impl BigNum { } } -impl AsRef<BigNumRef> for BigNum { - fn as_ref(&self) -> &BigNumRef { - self.deref() - } -} - impl fmt::Debug for BigNumRef { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match self.to_dec_str() { |