From 5f6838130dd1c36a316f176f11dbfc93d4097c82 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Sun, 12 Apr 2015 00:31:57 -0700 Subject: [PATCH] Update to Rust HEAD --- benches/bench_log.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/benches/bench_log.rs b/benches/bench_log.rs index 4a65292a..536ce406 100644 --- a/benches/bench_log.rs +++ b/benches/bench_log.rs @@ -30,7 +30,7 @@ struct Http { request_uri: String, } -#[derive(Copy, Debug, PartialEq, FromPrimitive)] +#[derive(Copy, Clone, Debug, PartialEq, FromPrimitive)] enum HttpProtocol { HTTP_PROTOCOL_UNKNOWN, HTTP10, @@ -70,7 +70,7 @@ impl de::Deserialize for HttpProtocol { } } -#[derive(Copy, Debug, PartialEq, FromPrimitive)] +#[derive(Copy, Clone, Debug, PartialEq, FromPrimitive)] enum HttpMethod { METHOD_UNKNOWN, GET, @@ -118,7 +118,7 @@ impl de::Deserialize for HttpMethod { } } -#[derive(Copy, Debug, PartialEq, FromPrimitive)] +#[derive(Copy, Clone, Debug, PartialEq, FromPrimitive)] enum CacheStatus { CACHESTATUS_UNKNOWN, Miss, @@ -167,7 +167,7 @@ struct Origin { protocol: OriginProtocol, } -#[derive(Copy, Debug, PartialEq, FromPrimitive)] +#[derive(Copy, Clone, Debug, PartialEq, FromPrimitive)] enum OriginProtocol { ORIGIN_PROTOCOL_UNKNOWN, HTTP, @@ -207,7 +207,7 @@ impl de::Deserialize for OriginProtocol { } } -#[derive(Copy, Debug, PartialEq, FromPrimitive)] +#[derive(Copy, Clone, Debug, PartialEq, FromPrimitive)] enum ZonePlan { ZONEPLAN_UNKNOWN, FREE, @@ -249,7 +249,7 @@ impl de::Deserialize for ZonePlan { } } -#[derive(Copy, Debug, PartialEq, FromPrimitive)] +#[derive(Copy, Clone, Debug, PartialEq, FromPrimitive)] enum Country { UNKNOWN, A1,