Skip to content

Commit

Permalink
Patch malformed doc comment in generated Rust code
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Sep 28, 2023
1 parent a363bb5 commit a30e373
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/prost/ibc.applications.transfer.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ pub struct QueryParamsResponse {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryDenomHashRequest {
/// The denomination trace (\[port_id\]/[channel_id])+/\[denom\]
/// The denomination trace `([port_id]/[channel_id])+/[denom]`
#[prost(string, tag = "1")]
pub trace: ::prost::alloc::string::String,
}
Expand Down
4 changes: 2 additions & 2 deletions tools/proto-compiler/src/cmd/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ impl CompileCmd {
(
"ibc.applications.transfer.v1.rs",
&[(
"The denomination trace (\\[port_id]/[channel_id])+/[denom\\]",
"The denomination trace `(\\[port_id]/[channel_id])+/[denom\\]`",
"The denomination trace (\\[port_id\\]/[channel_id])+/\\[denom\\]",
"The denomination trace `([port_id]/[channel_id])+/[denom]`",
)],
),
];
Expand Down

0 comments on commit a30e373

Please sign in to comment.