Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
stepancheg committed Sep 29, 2024
1 parent 8503566 commit 4941283
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions test-crates/protobuf-codegen-identical-test/tests/diff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,22 @@ fn normalize_descriptor(desc: &mut DescriptorProto) {
desc.options.mut_or_insert_default();

// TODO: fix these.
desc.options.mut_or_insert_default().mut_unknown_fields().remove(7633546);
desc.options.mut_or_insert_default().mut_unknown_fields().remove(7636463);
desc.options.mut_or_insert_default().mut_unknown_fields().remove(7636949);
desc.options.mut_or_insert_default().mut_unknown_fields().remove(7646756);
desc.options
.mut_or_insert_default()
.mut_unknown_fields()
.remove(7633546);
desc.options
.mut_or_insert_default()
.mut_unknown_fields()
.remove(7636463);
desc.options
.mut_or_insert_default()
.mut_unknown_fields()
.remove(7636949);
desc.options
.mut_or_insert_default()
.mut_unknown_fields()
.remove(7646756);

for field in &mut desc.field {
normalize_field(field);
Expand Down

0 comments on commit 4941283

Please sign in to comment.