Use roto::RawFieldIterator in generated code
This commit is contained in:
+1
-1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user