diff options
Diffstat (limited to 'src/sftp.rs')
-rw-r--r-- | src/sftp.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sftp.rs b/src/sftp.rs index d4646dc..0159c6d 100644 --- a/src/sftp.rs +++ b/src/sftp.rs @@ -332,7 +332,6 @@ impl<'sess> SessionBinding<'sess> for Sftp<'sess> { } -#[unsafe_destructor] impl<'sess> Drop for Sftp<'sess> { fn drop(&mut self) { unsafe { assert_eq!(raw::libssh2_sftp_shutdown(self.raw), 0) } @@ -498,7 +497,6 @@ impl<'sftp> Seek for File<'sftp> { } } -#[unsafe_destructor] impl<'sftp> Drop for File<'sftp> { fn drop(&mut self) { unsafe { assert_eq!(raw::libssh2_sftp_close_handle(self.raw), 0) } |