diff options
| author | Steven Fackler <[email protected]> | 2016-08-10 21:28:17 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2016-08-10 21:28:17 -0700 |
| commit | 59fe901357b6ceb8e60e49c97467829abbb64fe1 (patch) | |
| tree | 38a96f3bbbc34b0eb818ce52064431fe78801078 /openssl/src/bio.rs | |
| parent | Tweaks (diff) | |
| download | rust-openssl-59fe901357b6ceb8e60e49c97467829abbb64fe1.tar.xz rust-openssl-59fe901357b6ceb8e60e49c97467829abbb64fe1.zip | |
Method renames
Diffstat (limited to 'openssl/src/bio.rs')
| -rw-r--r-- | openssl/src/bio.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl/src/bio.rs b/openssl/src/bio.rs index 7adcc4e6..0d82a6c3 100644 --- a/openssl/src/bio.rs +++ b/openssl/src/bio.rs @@ -28,7 +28,7 @@ impl<'a> MemBioSlice<'a> { Ok(MemBioSlice(bio, PhantomData)) } - pub fn handle(&self) -> *mut ffi::BIO { + pub fn as_ptr(&self) -> *mut ffi::BIO { self.0 } } @@ -53,7 +53,7 @@ impl MemBio { Ok(MemBio(bio)) } - pub fn handle(&self) -> *mut ffi::BIO { + pub fn as_ptr(&self) -> *mut ffi::BIO { self.0 } |