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
@@ -262,7 +262,7 @@ mod deserializer {
type Error = Error;
#[inline]
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() {
@@ -288,7 +288,7 @@ mod deserializer {
}
#[inline]
fn visit_enum<V>(&mut self,
fn deserialize_enum<V>(&mut self,
_name: &str,
_variants: &[&str],
mut visitor: V) -> Result<V::Value, Error>