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 Nov 22, 2024
1 parent 8778f3e commit a52d4fc
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 CodeGenerator<'_> {
.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 a52d4fc

Please sign in to comment.