Fix bug in codegen

This commit is contained in:
2026-05-06 16:03:56 -07:00
parent 847c6cdc66
commit 80f3aa49ba
+1 -1
View File
@@ -260,7 +260,7 @@ fn write_message(msg_proto: &DescriptorProto, output: &mut String) {
} }
} }
// raw_fields() convenience on the message struct (before closing the impl) // raw_fields() convenience on the message struct (before closing the impl)
output.push_str(" pub fn raw_fields(&self) -> roto::RawFieldIterator<'a> {\n"); output.push_str(" pub fn raw_fields(&self) -> roto_runtime::RawFieldIterator<'a> {\n");
output.push_str(" self.accessor.raw_fields()\n"); output.push_str(" self.accessor.raw_fields()\n");
output.push_str(" }\n\n"); output.push_str(" }\n\n");
output.push_str("}\n\n"); output.push_str("}\n\n");