From 1b63377d692aa900989eb12d51187057ad52a7f9 Mon Sep 17 00:00:00 2001 From: Mathijs van de Nes Date: Mon, 16 Mar 2015 10:51:23 +0100 Subject: [PATCH] Remove Clone from CompressionMethod Copy ought to be enough --- Cargo.toml | 2 +- src/compression.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b986b8ed..fe3ed541 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "zip" -version = "0.1.1" +version = "0.1.2" authors = ["Mathijs van de Nes "] license = "MIT" repository = "https://github.com/mvdnes/zip-rs.git" diff --git a/src/compression.rs b/src/compression.rs index e4a32a5e..a70dfcd7 100644 --- a/src/compression.rs +++ b/src/compression.rs @@ -1,7 +1,7 @@ //! Possible ZIP compression methods. /// Compression methods for the contents of a ZIP file. -#[derive(Clone, Copy)] +#[derive(Copy)] pub enum CompressionMethod { /// The file is stored (no compression)