Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: xxchan <[email protected]>
  • Loading branch information
xxchan committed Sep 13, 2024
1 parent 1833dff commit 0a2d11e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connector/codec/src/decoder/protobuf/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ pub fn from_protobuf_value<'a>(
// order matters. We sort by key here to have deterministic order
// in tests. We might consider removing this, or make all MapValue sorted
// in the future.
for (key, value) in map.into_iter().sorted_by_key(|(k, _v)| *k) {
for (key, value) in map.iter().sorted_by_key(|(k, _v)| *k) {
key_builder.append(from_protobuf_value(
field_desc,
&key.clone().into(),
Expand Down

0 comments on commit 0a2d11e

Please sign in to comment.