From a19ce5b00212f734b4ea0f9bdd2933e969e8094e Mon Sep 17 00:00:00 2001 From: Kevin King Date: Wed, 17 Jan 2024 11:53:32 -0800 Subject: [PATCH] Move repeated_scalar.cc to repeated_field.cc Repeated scalars and messages can share the same accessor code. PiperOrigin-RevId: 599244388 --- src/google/protobuf/compiler/rust/BUILD.bazel | 2 +- .../rust/accessors/{repeated_scalar.cc => repeated_field.cc} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/google/protobuf/compiler/rust/accessors/{repeated_scalar.cc => repeated_field.cc} (100%) diff --git a/src/google/protobuf/compiler/rust/BUILD.bazel b/src/google/protobuf/compiler/rust/BUILD.bazel index ae55cb5b51..0e408aa0dd 100644 --- a/src/google/protobuf/compiler/rust/BUILD.bazel +++ b/src/google/protobuf/compiler/rust/BUILD.bazel @@ -103,7 +103,7 @@ cc_library( srcs = [ "accessors/accessors.cc", "accessors/map.cc", - "accessors/repeated_scalar.cc", + "accessors/repeated_field.cc", "accessors/singular_message.cc", "accessors/singular_scalar.cc", "accessors/singular_string.cc", diff --git a/src/google/protobuf/compiler/rust/accessors/repeated_scalar.cc b/src/google/protobuf/compiler/rust/accessors/repeated_field.cc similarity index 100% rename from src/google/protobuf/compiler/rust/accessors/repeated_scalar.cc rename to src/google/protobuf/compiler/rust/accessors/repeated_field.cc