Remove unsafe_destructor
This commit is contained in:
parent
a2199e0132
commit
c101abac6b
|
|
@ -1,4 +1,4 @@
|
||||||
#![feature(unsafe_destructor, core, io, std_misc, unique, collections)]
|
#![feature(core, io, std_misc, unique, collections)]
|
||||||
#![doc(html_root_url="https://sfackler.github.io/rust-openssl/doc/openssl")]
|
#![doc(html_root_url="https://sfackler.github.io/rust-openssl/doc/openssl")]
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
|
|
||||||
|
|
@ -434,7 +434,6 @@ impl<'ctx> X509<'ctx> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[unsafe_destructor]
|
|
||||||
impl<'ctx> Drop for X509<'ctx> {
|
impl<'ctx> Drop for X509<'ctx> {
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
if self.owned {
|
if self.owned {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue