Skip to content

Commit

Permalink
codegen: fix additional indent
Browse files Browse the repository at this point in the history
  • Loading branch information
cynecx committed Aug 22, 2024
1 parent 5e094f3 commit 9962114
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion prost-build/src/code_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,6 @@ impl<'a> CodeGenerator<'a> {
.can_field_derive_copy(fq_message_name, &field.descriptor)
});

self.push_indent();
self.buf.push_str(&format!(
"#[derive(Clone, {}PartialEq, {}::Oneof)]\n",
if can_oneof_derive_copy { "Copy, " } else { "" },
Expand Down

0 comments on commit 9962114

Please sign in to comment.