Skip to content

Commit 570d355

Browse files
committed
Clippy warning
1 parent 281087a commit 570d355

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
@@ -835,7 +835,7 @@ fn record_batch_into_schema(
835835
) -> Result<RecordBatch, ArrowError> {
836836
let schema = Arc::new(schema.clone());
837837
let base_schema = record_batch.schema();
838-
if base_schema.fields().len() == 0 {
838+
if base_schema.fields().is_empty() {
839839
// Nothing to project
840840
return Ok(RecordBatch::new_empty(schema));
841841
}

0 commit comments

Comments
 (0)