Update to latest rust master (0.8-pre d2b0b11)

This commit is contained in:
Kevin Ballard 2013-09-18 13:51:05 -07:00
parent ec7474c895
commit 76a3b83d27
3 changed files with 3 additions and 3 deletions

View File

@ -99,7 +99,7 @@ impl Hasher {
} }
impl Drop for Hasher { impl Drop for Hasher {
fn drop(&self) { fn drop(&mut self) {
#[fixed_stack_segment]; #[inline(never)]; #[fixed_stack_segment]; #[inline(never)];
unsafe { unsafe {
libcrypto::EVP_MD_CTX_destroy(self.ctx); libcrypto::EVP_MD_CTX_destroy(self.ctx);

View File

@ -361,7 +361,7 @@ impl PKey {
} }
impl Drop for PKey { impl Drop for PKey {
fn drop(&self) { fn drop(&mut self) {
#[fixed_stack_segment]; #[inline(never)]; #[fixed_stack_segment]; #[inline(never)];
unsafe { unsafe {
libcrypto::EVP_PKEY_free(self.evp); libcrypto::EVP_PKEY_free(self.evp);

View File

@ -184,7 +184,7 @@ impl Crypter {
} }
impl Drop for Crypter { impl Drop for Crypter {
fn drop(&self) { fn drop(&mut self) {
#[fixed_stack_segment]; #[inline(never)]; #[fixed_stack_segment]; #[inline(never)];
unsafe { unsafe {
libcrypto::EVP_CIPHER_CTX_free(self.ctx); libcrypto::EVP_CIPHER_CTX_free(self.ctx);