From 82b97dd6de21f07f7b1af1d042a06d2c39a821ae Mon Sep 17 00:00:00 2001 From: NBonaparte Date: Mon, 18 Sep 2023 11:27:21 -0700 Subject: [PATCH] fix: generate `Name::full_name` properly --- src/name.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/name.rs b/src/name.rs index 1f94de6a7..7650c3273 100644 --- a/src/name.rs +++ b/src/name.rs @@ -16,7 +16,7 @@ pub trait Name: Message { /// Full name of this message type containing both the package name and /// type name, e.g. `google.protobuf.TypeName`. fn full_name() -> String { - format!("{}.{}", Self::NAME, Self::PACKAGE) + format!("{}.{}", Self::PACKAGE, Self::NAME) } /// Type URL for this message, which by default is the full name with a