From d4c20829f62f1ba3cb4367f468cd093dd0ef9450 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Tue, 21 Jul 2015 21:40:39 -0700 Subject: [PATCH] Inline enum visit_map --- serde_codegen/src/de.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/serde_codegen/src/de.rs b/serde_codegen/src/de.rs index 19a32483..3f949df0 100644 --- a/serde_codegen/src/de.rs +++ b/serde_codegen/src/de.rs @@ -676,6 +676,7 @@ fn deserialize_struct_variant( $visit_seq_expr } + #[inline] fn visit_map<__V>(&mut self, mut visitor: __V) -> ::std::result::Result<$ty, __V::Error> where __V: ::serde::de::MapVisitor, {