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

This commit is contained in:
Oliver Schneider committed 2015-10-20 09:30:15 +02:00
1 parent 56c42a907f
commit 51912e6197
6 files changed
+65 -65

No files matched your search

+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>