Rename named_* to use {enum,struct,unit}_*

This better reflects how they're used.
This commit is contained in:
Erick Tryzelaar
2015-07-04 12:11:20 -07:00
parent d30cf07254
commit 10f23dddfe
8 changed files with 66 additions and 66 deletions
+1 -1
View File
@@ -398,7 +398,7 @@ mod deserializer {
}
}
fn visit_named_map<V>(&mut self, name: &str, mut visitor: V) -> Result<V::Value, Error>
fn visit_struct<V>(&mut self, name: &str, mut visitor: V) -> Result<V::Value, Error>
where V: de::Visitor,
{
match self.stack.pop() {