diff --git a/src/generator.rs b/src/generator.rs index 0baae6b..9aeab92 100644 --- a/src/generator.rs +++ b/src/generator.rs @@ -258,7 +258,7 @@ fn write_message(msg_proto: &DescriptorProto, output: &mut String) { } } // raw_fields() convenience on the message struct (before closing the impl) - output.push_str(" pub fn raw_fields(&self) -> crate::RawFieldIterator<'a> {\n"); + output.push_str(" pub fn raw_fields(&self) -> roto::RawFieldIterator<'a> {\n"); output.push_str(" self.accessor.raw_fields()\n"); output.push_str(" }\n\n"); output.push_str("}\n\n");