diff --git a/src/serialize.rs b/src/serialize.rs index d22b23b..67bb163 100644 --- a/src/serialize.rs +++ b/src/serialize.rs @@ -620,7 +620,7 @@ pub trait Decoder { /// and may (but are not required to) return an error if these are /// inconsistent. fn read_enum_struct_variant_field(&mut self, - &f_name: &str, + f_name: &str, f_idx: usize, f: F) -> Result