alamb commented on a change in pull request #9535: URL: https://github.com/apache/arrow/pull/9535#discussion_r579652836
########## File path: rust/arrow/src/record_batch.rs ########## @@ -278,12 +278,13 @@ impl From<&StructArray> for RecordBatch { } } -impl Into<StructArray> for RecordBatch { - fn into(self) -> StructArray { - self.schema +impl From<RecordBatch> for StructArray { Review comment: This is a good one. 👍 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org