Skip to content

Commit

Permalink
Use new accessors for map in generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
stepancheg committed Jun 25, 2024
1 parent d39fec5 commit d275403
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protobuf-codegen/src/gen/field/accessor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ impl FieldGen<'_> {
fn accessor_fn_map(&self, map_field: &MapField) -> AccessorFn {
let MapField { .. } = map_field;
AccessorFn {
name: "make_map_simpler_accessor".to_owned(),
type_params: vec![format!("_"), format!("_")],
name: "make_map_simpler_accessor_new".to_owned(),
type_params: vec![format!("_")],
callback_params: self.make_accessor_fns_lambda(),
}
}
Expand Down

0 comments on commit d275403

Please sign in to comment.