Skip to content

Commit

Permalink
remove wrong s in codegen (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
LYF1999 authored Jun 2, 2023
1 parent 0432288 commit 6fd8a79
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pilota-build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pilota-build"
version = "0.7.3"
version = "0.7.4"
edition = "2021"
description = "Compile thrift and protobuf idl into rust code at compile-time."
documentation = "https://docs.rs/pilota-build"
Expand Down
2 changes: 1 addition & 1 deletion pilota-build/src/codegen/thrift/ty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl ThriftBackend {
let el_ttype = self.ttype(ty);

format! {
r#"protocol.write_set({el_ttype}, &{ident}, |protocol, val| {{s
r#"protocol.write_set({el_ttype}, &{ident}, |protocol, val| {{
{write_el}
Ok(())
}})?;"#
Expand Down

0 comments on commit 6fd8a79

Please sign in to comment.