Skip to content

Commit 3e39496

Browse files
committed
---
yaml --- r: 165438 b: refs/heads/master c: d729c96 h: refs/heads/master v: v3
1 parent 347db21 commit 3e39496

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 11d9175a90b90bfe019b34d1a98a6edceda7a6b2
2+
refs/heads/master: d729c966bb8f1a0fe06f432e5c9c9aa2f03c4820
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 658529467d9d69ac9e09cacf98a6d61d781c2c76
55
refs/heads/try: aee614fc4973262a5a68efc643026e2b1458d65b

trunk/src/libserialize/json.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2071,7 +2071,7 @@ impl ::Decoder<DecoderError> for Decoder {
20712071
expect!(self.pop(), String)
20722072
}
20732073

2074-
fn read_enum<T, F>(&mut self, name: &str, f: F) -> DecodeResult<T> where
2074+
fn read_enum<T, F>(&mut self, _name: &str, f: F) -> DecodeResult<T> where
20752075
F: FnOnce(&mut Decoder) -> DecodeResult<T>,
20762076
{
20772077
f(self)
@@ -2120,7 +2120,7 @@ impl ::Decoder<DecoderError> for Decoder {
21202120
f(self, idx)
21212121
}
21222122

2123-
fn read_enum_variant_arg<T, F>(&mut self, idx: uint, f: F) -> DecodeResult<T> where
2123+
fn read_enum_variant_arg<T, F>(&mut self, _idx: uint, f: F) -> DecodeResult<T> where
21242124
F: FnOnce(&mut Decoder) -> DecodeResult<T>,
21252125
{
21262126
f(self)
@@ -2134,7 +2134,7 @@ impl ::Decoder<DecoderError> for Decoder {
21342134

21352135

21362136
fn read_enum_struct_variant_field<T, F>(&mut self,
2137-
name: &str,
2137+
_name: &str,
21382138
idx: uint,
21392139
f: F)
21402140
-> DecodeResult<T> where
@@ -2143,7 +2143,7 @@ impl ::Decoder<DecoderError> for Decoder {
21432143
self.read_enum_variant_arg(idx, f)
21442144
}
21452145

2146-
fn read_struct<T, F>(&mut self, name: &str, len: uint, f: F) -> DecodeResult<T> where
2146+
fn read_struct<T, F>(&mut self, _name: &str, _len: uint, f: F) -> DecodeResult<T> where
21472147
F: FnOnce(&mut Decoder) -> DecodeResult<T>,
21482148
{
21492149
let value = try!(f(self));
@@ -2153,7 +2153,7 @@ impl ::Decoder<DecoderError> for Decoder {
21532153

21542154
fn read_struct_field<T, F>(&mut self,
21552155
name: &str,
2156-
idx: uint,
2156+
_idx: uint,
21572157
f: F)
21582158
-> DecodeResult<T> where
21592159
F: FnOnce(&mut Decoder) -> DecodeResult<T>,
@@ -2198,7 +2198,7 @@ impl ::Decoder<DecoderError> for Decoder {
21982198
}
21992199

22002200
fn read_tuple_struct<T, F>(&mut self,
2201-
name: &str,
2201+
_name: &str,
22022202
len: uint,
22032203
f: F)
22042204
-> DecodeResult<T> where
@@ -2236,7 +2236,7 @@ impl ::Decoder<DecoderError> for Decoder {
22362236
f(self, len)
22372237
}
22382238

2239-
fn read_seq_elt<T, F>(&mut self, idx: uint, f: F) -> DecodeResult<T> where
2239+
fn read_seq_elt<T, F>(&mut self, _idx: uint, f: F) -> DecodeResult<T> where
22402240
F: FnOnce(&mut Decoder) -> DecodeResult<T>,
22412241
{
22422242
f(self)
@@ -2254,13 +2254,13 @@ impl ::Decoder<DecoderError> for Decoder {
22542254
f(self, len)
22552255
}
22562256

2257-
fn read_map_elt_key<T, F>(&mut self, idx: uint, f: F) -> DecodeResult<T> where
2257+
fn read_map_elt_key<T, F>(&mut self, _idx: uint, f: F) -> DecodeResult<T> where
22582258
F: FnOnce(&mut Decoder) -> DecodeResult<T>,
22592259
{
22602260
f(self)
22612261
}
22622262

2263-
fn read_map_elt_val<T, F>(&mut self, idx: uint, f: F) -> DecodeResult<T> where
2263+
fn read_map_elt_val<T, F>(&mut self, _idx: uint, f: F) -> DecodeResult<T> where
22642264
F: FnOnce(&mut Decoder) -> DecodeResult<T>,
22652265
{
22662266
f(self)

0 commit comments

Comments
 (0)