fix unneeded mut in enum gencode

PiperOrigin-RevId: 633955047
pull/16847/head
Derek Benson 8 months ago committed by Copybara-Service
parent 6b9a81a042
commit 9f40411caf
  1. 2
      src/google/protobuf/compiler/rust/enum.cc

@ -452,7 +452,7 @@ void GenerateEnumDefinition(Context& ctx, const EnumDescriptor& desc) {
}
fn repeated_reserve(
mut r: $pb$::Mut<$pb$::Repeated<Self>>,
r: $pb$::Mut<$pb$::Repeated<Self>>,
additional: usize,
) {
// SAFETY:

Loading…
Cancel
Save