Follow rust std: fmt::Show was renamed to fmt::Debug

This commit is contained in:
Thomas Bahn
2015-02-06 15:21:51 +01:00
parent 5dd077969c
commit 9a284ae7c2
19 changed files with 77 additions and 77 deletions
+9 -9
View File
@@ -66,7 +66,7 @@ impl de::Deserialize for HttpField {
}
}
#[derive(Show, PartialEq, RustcEncodable, RustcDecodable)]
#[derive(Debug, PartialEq, RustcEncodable, RustcDecodable)]
#[derive_serialize]
//#[derive_deserialize]
struct Http {
@@ -135,7 +135,7 @@ impl de::Deserialize for Http {
}
}
#[derive(Copy, Show, PartialEq, FromPrimitive)]
#[derive(Copy, Debug, PartialEq, FromPrimitive)]
enum HttpProtocol {
HTTP_PROTOCOL_UNKNOWN,
HTTP10,
@@ -175,7 +175,7 @@ impl de::Deserialize for HttpProtocol {
}
}
#[derive(Copy, Show, PartialEq, FromPrimitive)]
#[derive(Copy, Debug, PartialEq, FromPrimitive)]
enum HttpMethod {
METHOD_UNKNOWN,
GET,
@@ -223,7 +223,7 @@ impl de::Deserialize for HttpMethod {
}
}
#[derive(Copy, Show, PartialEq, FromPrimitive)]
#[derive(Copy, Debug, PartialEq, FromPrimitive)]
enum CacheStatus {
CACHESTATUS_UNKNOWN,
Miss,
@@ -298,7 +298,7 @@ impl de::Deserialize for OriginField {
}
}
#[derive(Show, PartialEq, RustcEncodable, RustcDecodable)]
#[derive(Debug, PartialEq, RustcEncodable, RustcDecodable)]
#[derive_serialize]
//#[derive_deserialize]
struct Origin {
@@ -347,7 +347,7 @@ impl Deserialize for Origin {
}
}
#[derive(Copy, Show, PartialEq, FromPrimitive)]
#[derive(Copy, Debug, PartialEq, FromPrimitive)]
enum OriginProtocol {
ORIGIN_PROTOCOL_UNKNOWN,
HTTP,
@@ -387,7 +387,7 @@ impl de::Deserialize for OriginProtocol {
}
}
#[derive(Copy, Show, PartialEq, FromPrimitive)]
#[derive(Copy, Debug, PartialEq, FromPrimitive)]
enum ZonePlan {
ZONEPLAN_UNKNOWN,
FREE,
@@ -429,7 +429,7 @@ impl de::Deserialize for ZonePlan {
}
}
#[derive(Copy, Show, PartialEq, FromPrimitive)]
#[derive(Copy, Debug, PartialEq, FromPrimitive)]
enum Country {
UNKNOWN,
A1,
@@ -772,7 +772,7 @@ impl de::Deserialize for LogField {
}
}
#[derive(Show, PartialEq, RustcEncodable, RustcDecodable)]
#[derive(Debug, PartialEq, RustcEncodable, RustcDecodable)]
#[derive_serialize]
//#[derive_deserialize]
struct Log {