Skip to content

Commit dca5878

Browse files
authored
fix(sidekick/rust): bad link for parent messages (#2309)
For most messages `Name == Codec.Name`, but there are a handful of messages that are all uppercase in Protobuf (e.g. `CVSS` in grafeas), and the naming conventions for Rust convert these to `CamelCase` (`Cvss` in that example).
1 parent 3336fa5 commit dca5878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/sidekick/internal/rust/templates/common/message.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ impl gax::paginator::internal::PageableResponse for {{Codec.Name}} {
251251
{{/Pagination}}
252252
{{#Codec.HasNestedTypes}}
253253
254-
/// Defines additional types related to [{{Name}}].
254+
/// Defines additional types related to [{{Codec.Name}}].
255255
{{> /templates/common/feature_gate}}
256256
pub mod {{Codec.ModuleName}} {
257257
{{! Very rarely, this is unused. It is easier to always disable the warning. }}

0 commit comments

Comments
 (0)