aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/ssl
diff options
context:
space:
mode:
authorAnthony Ramine <[email protected]>2017-11-21 02:31:00 +0100
committerAnthony Ramine <[email protected]>2017-11-21 09:17:39 +0100
commit93be1c4f2fdbfcdadc47e2760759493a2871faec (patch)
tree4c9880fad8b39ffb257f53041cbc8f2ad2e3091a /openssl/src/ssl
parentRelease v0.9.21 (diff)
downloadrust-openssl-93be1c4f2fdbfcdadc47e2760759493a2871faec.tar.xz
rust-openssl-93be1c4f2fdbfcdadc47e2760759493a2871faec.zip
Update foreign-types to 0.3
Diffstat (limited to 'openssl/src/ssl')
-rw-r--r--openssl/src/ssl/mod.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/openssl/src/ssl/mod.rs b/openssl/src/ssl/mod.rs
index 176863d6..f3f1d219 100644
--- a/openssl/src/ssl/mod.rs
+++ b/openssl/src/ssl/mod.rs
@@ -76,7 +76,6 @@ use libc::{c_int, c_long, c_ulong, c_void};
use libc::{c_uchar, c_uint};
use std::any::Any;
use std::any::TypeId;
-use std::borrow::Borrow;
use std::cmp;
use std::collections::HashMap;
use std::ffi::{CStr, CString};
@@ -1026,12 +1025,6 @@ impl Clone for SslSession {
}
}
-impl Borrow<SslSessionRef> for SslSession {
- fn borrow(&self) -> &SslSessionRef {
- &self
- }
-}
-
impl ToOwned for SslSessionRef {
type Owned = SslSession;