From 9962114dc78053761119e8aa05a889230f59d2ad Mon Sep 17 00:00:00 2001 From: cynecx Date: Thu, 22 Aug 2024 23:12:52 +0200 Subject: [PATCH] codegen: fix additional indent --- prost-build/src/code_generator.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/prost-build/src/code_generator.rs b/prost-build/src/code_generator.rs index 384ec9e2e..3e1613ae7 100644 --- a/prost-build/src/code_generator.rs +++ b/prost-build/src/code_generator.rs @@ -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 { "" },