From c05e8a5f04de5a6b31a53f380f812ae3a08400a9 Mon Sep 17 00:00:00 2001 From: Mathijs van de Nes Date: Fri, 3 Apr 2015 14:55:49 +0200 Subject: [PATCH] Do not use unsafe_destructor --- src/lib.rs | 1 - src/write.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index d1d1e182..e3667817 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,5 @@ //! A basic ZipReader/Writer crate -#![feature(unsafe_destructor)] #![warn(missing_docs)] #![feature(step_by)] diff --git a/src/write.rs b/src/write.rs index 0f43f558..43a953c8 100644 --- a/src/write.rs +++ b/src/write.rs @@ -213,7 +213,6 @@ impl ZipWriter } } -#[unsafe_destructor] impl Drop for ZipWriter { fn drop(&mut self)