test(#151): update tests and benchmarks: visit -> (de)serialize

This commit is contained in:
Oliver Schneider
2015-10-19 13:06:30 +02:00
parent 56c42a907f
commit 51912e6197
6 changed files with 65 additions and 65 deletions
+2 -2
View File
@@ -356,7 +356,7 @@ mod deserializer {
impl de::Deserializer for OuterDeserializer {
type Error = Error;
fn visit<V>(&mut self, mut visitor: V) -> Result<V::Value, Error>
fn deserialize<V>(&mut self, mut visitor: V) -> Result<V::Value, Error>
where V: de::Visitor,
{
match self.stack.pop() {
@@ -398,7 +398,7 @@ mod deserializer {
}
}
fn visit_struct<V>(&mut self,
fn deserialize_struct<V>(&mut self,
name: &str,
_fields: &'static [&'static str],
mut visitor: V) -> Result<V::Value, Error>