Skip to content

Commit

Permalink
add missing ; (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
LYF1999 authored Feb 2, 2023
1 parent aa31078 commit 64187fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pilota-build/src/codegen/protobuf/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ impl ProtobufBackend {
quote!(::pilota::prost::encoding::#value_module::encoded_len);

quote!(
::pilota::prost::encoding::hash_map::encode(#key_encode_fn, #key_encoded_len_fn, #value_encode_fn, #value_encoded_len_fn, #tag, &#ident, buf)
::pilota::prost::encoding::hash_map::encode(#key_encode_fn, #key_encoded_len_fn, #value_encode_fn, #value_encoded_len_fn, #tag, &#ident, buf);
)
}
}
Expand Down
2 changes: 1 addition & 1 deletion pilota-build/test_data/protobuf/nested_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub mod nested_message {
2u32,
&self.m,
buf,
)
);
}
#[allow(unused_variables)]
fn merge_field<B>(
Expand Down

0 comments on commit 64187fd

Please sign in to comment.