Skip to content

Commit

Permalink
fix: missing ; (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
LYF1999 authored May 24, 2023
1 parent 1acbf39 commit 170d596
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 @@ -267,7 +267,7 @@ impl ProtobufBackend {
let value_encoded_len_fn =
quote!(::pilota::prost::encoding::#value_module::encoded_len);

format!("::pilota::prost::encoding::hash_map::encode({key_encode_fn}, {key_encoded_len_fn}, {value_encode_fn}, {value_encoded_len_fn}, {tag}, &{ident}, buf)").into()
format!("::pilota::prost::encoding::hash_map::encode({key_encode_fn}, {key_encoded_len_fn}, {value_encode_fn}, {value_encoded_len_fn}, {tag}, &{ident}, buf);").into()
}
}
}
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 @@ -212,7 +212,7 @@ pub mod nested_message {
2,
&self.m,
buf,
)
);
}

#[allow(unused_variables)]
Expand Down

0 comments on commit 170d596

Please sign in to comment.