Skip to content

Commit

Permalink
fix: codegen lint
Browse files Browse the repository at this point in the history
  • Loading branch information
LYF1999 committed May 5, 2023
1 parent e2702c9 commit 1cb2462
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -390,7 +390,7 @@ impl ThriftBackend {
let map_ident = {read_map_begin};
let mut val = ::std::collections::HashMap::with_capacity(map_ident.size);
for _ in 0..map_ident.size {{
val.insert({{{read_el_key}}}, {{{read_el_val}}});
val.insert({read_el_key}, {read_el_val});
}}
{read_map_end};
val
Expand Down

0 comments on commit 1cb2462

Please sign in to comment.