@@ -63,12 +63,12 @@ impl<'de> serde::Deserializer<'de> for Value {
6363 forward_to_deserialize_any ! {
6464 bool f32 f64 unit unit_struct
6565
66- i8 i16 i32 i64
67- u8 u16 u32 u64
66+ i8 i16 i32 i64 i128
67+ u8 u16 u32 u64 u128
6868
6969 char str string bytes byte_buf
7070
71- seq map
71+ seq tuple tuple_struct map
7272
7373 struct enum identifier ignored_any
7474 }
@@ -93,27 +93,6 @@ impl<'de> serde::Deserializer<'de> for Value {
9393 visitor. visit_newtype_struct ( self )
9494 }
9595
96- #[ inline]
97- fn deserialize_tuple < V > ( self , _len : usize , visitor : V ) -> Result < V :: Value , Self :: Error >
98- where
99- V : Visitor < ' de > ,
100- {
101- self . deserialize_seq ( visitor)
102- }
103-
104- #[ inline]
105- fn deserialize_tuple_struct < V > (
106- self ,
107- _name : & ' static str ,
108- _len : usize ,
109- visitor : V ,
110- ) -> Result < V :: Value , Self :: Error >
111- where
112- V : Visitor < ' de > ,
113- {
114- self . deserialize_seq ( visitor)
115- }
116-
11796 #[ inline]
11897 fn is_human_readable ( & self ) -> bool {
11998 false
@@ -290,12 +269,12 @@ impl<'de> serde::Deserializer<'de> for &'de Value {
290269 forward_to_deserialize_any ! {
291270 bool f32 f64 unit unit_struct
292271
293- i8 i16 i32 i64
294- u8 u16 u32 u64
272+ i8 i16 i32 i64 i128
273+ u8 u16 u32 u64 u128
295274
296275 char str string bytes byte_buf
297276
298- seq map
277+ seq tuple tuple_struct map
299278
300279 struct enum identifier ignored_any
301280 }
@@ -320,27 +299,6 @@ impl<'de> serde::Deserializer<'de> for &'de Value {
320299 visitor. visit_newtype_struct ( self )
321300 }
322301
323- #[ inline]
324- fn deserialize_tuple < V > ( self , _len : usize , visitor : V ) -> Result < V :: Value , Self :: Error >
325- where
326- V : Visitor < ' de > ,
327- {
328- self . deserialize_seq ( visitor)
329- }
330-
331- #[ inline]
332- fn deserialize_tuple_struct < V > (
333- self ,
334- _name : & ' static str ,
335- _len : usize ,
336- visitor : V ,
337- ) -> Result < V :: Value , Self :: Error >
338- where
339- V : Visitor < ' de > ,
340- {
341- self . deserialize_seq ( visitor)
342- }
343-
344302 #[ inline]
345303 fn is_human_readable ( & self ) -> bool {
346304 false
0 commit comments