diff --git a/serde_tests/benches/bench_log.rs b/serde_tests/benches/bench_log.rs index c2f51fd3..925b03ed 100644 --- a/serde_tests/benches/bench_log.rs +++ b/serde_tests/benches/bench_log.rs @@ -50,7 +50,7 @@ impl rustc_serialize::Decodable for HttpProtocol { impl FromStr for HttpProtocol { type Err = (); - fn from_str(s: &str) -> Result { unimplemented!() } + fn from_str(_s: &str) -> Result { unimplemented!() } } impl FromPrimitive for HttpProtocol { @@ -104,7 +104,7 @@ enum HttpMethod { impl FromStr for HttpMethod { type Err = (); - fn from_str(s: &str) -> Result { unimplemented!() } + fn from_str(_s: &str) -> Result { unimplemented!() } } impl FromPrimitive for HttpMethod { @@ -174,7 +174,7 @@ enum CacheStatus { impl FromStr for CacheStatus { type Err = (); - fn from_str(s: &str) -> Result { unimplemented!() } + fn from_str(_s: &str) -> Result { unimplemented!() } } impl FromPrimitive for CacheStatus { @@ -244,7 +244,7 @@ enum OriginProtocol { impl FromStr for OriginProtocol { type Err = (); - fn from_str(s: &str) -> Result { unimplemented!() } + fn from_str(_s: &str) -> Result { unimplemented!() } } impl FromPrimitive for OriginProtocol { @@ -307,7 +307,7 @@ enum ZonePlan { impl FromStr for ZonePlan { type Err = (); - fn from_str(s: &str) -> Result { unimplemented!() } + fn from_str(_s: &str) -> Result { unimplemented!() } } impl FromPrimitive for ZonePlan { @@ -622,7 +622,7 @@ enum Country { impl FromStr for Country { type Err = (); - fn from_str(s: &str) -> Result { unimplemented!() } + fn from_str(_s: &str) -> Result { unimplemented!() } } impl FromPrimitive for Country {