Copilot commented on code in PR #227:
URL: https://github.com/apache/avro-rs/pull/227#discussion_r2212102678
##########
avro/src/ser_schema.rs:
##########
@@ -384,6 +384,11 @@ impl<W: Write> ser::SerializeStruct for
SchemaAwareWriteSerializeStruct<'_, '_,
}
}
Review Comment:
[nitpick] Add a doc comment explaining why `skip_field` increments
`item_count`, so future maintainers understand how skipped fields affect
serialization order.
```suggestion
/// Skips a field during serialization.
///
/// Incrementing `item_count` ensures that the serialization order
/// remains consistent with the schema, even when fields are skipped.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]