findepi opened a new pull request, #8417: URL: https://github.com/apache/arrow-rs/pull/8417
# Which issue does this PR close? - closes https://github.com/apache/arrow-rs/issues/5819 # Rationale for this change This allows writing generic code that accepts `&Field`, `Arc<Field>` or `&Arc<Field>`, or iterators of these. Same for `Schema`. # What changes are included in this PR? `impl AsRef<Field> for Field` `impl AsRef<Schema> for Schema` as suggested by `AsRef` own docs # Are these changes tested? yes # Are there any user-facing changes? it does not break API. Downstream crates cannot implement `AsRef<Field> for Field` Downstream crates cannot workaround these either, per https://github.com/apache/arrow-rs/issues/5819#issuecomment-2142432293 -- 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]
