Fix some function signatures that rustfmt missed

This commit is contained in:
David Tolnay 2017-04-14 14:33:00 -07:00
parent bc4205a1d0
commit e722cf8791
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -759,10 +759,11 @@ where
Ok(value)
}
fn deserialize_seq_fixed_size<V>(self,
_len: usize,
visitor: V)
-> Result<V::Value, Self::Error>
fn deserialize_seq_fixed_size<V>(
self,
_len: usize,
visitor: V,
) -> Result<V::Value, Self::Error>
where
V: de::Visitor<'de>,
{
@ -810,10 +811,11 @@ where
seed.deserialize(value.into_deserializer())
}
fn next_entry_seed<TK, TV>(&mut self,
kseed: TK,
vseed: TV)
-> Result<Option<(TK::Value, TV::Value)>, Self::Error>
fn next_entry_seed<TK, TV>(
&mut self,
kseed: TK,
vseed: TV,
) -> Result<Option<(TK::Value, TV::Value)>, Self::Error>
where
TK: de::DeserializeSeed<'de>,
TV: de::DeserializeSeed<'de>,