Skip to content

Commit b2b3782

Browse files
committed
fix clippy errors
1 parent 2267243 commit b2b3782

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dataframe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ fn record_batch_into_schema(
747747
) -> Result<RecordBatch, ArrowError> {
748748
let schema = Arc::new(schema.clone());
749749
let base_schema = record_batch.schema();
750-
if base_schema.fields().len() == 0 {
750+
if base_schema.fields().is_empty() {
751751
// Nothing to project
752752
return Ok(RecordBatch::new_empty(schema));
753753
}

0 commit comments

Comments
 (0)