Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hohav committed Aug 5, 2022
1 parent b6b7540 commit aa9af03
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/array/struct_/mutable.rs
Expand Up @@ -50,8 +50,10 @@ impl MutableStructArray {
validity: Option<MutableBitmap>,
) -> Self {
match data_type.to_logical_type() {
DataType::Struct(ref fields) =>
assert!(fields.iter().map(|f| f.data_type()).eq(values.iter().map(|f| f.data_type()))),
DataType::Struct(ref fields) => assert!(fields
.iter()
.map(|f| f.data_type())
.eq(values.iter().map(|f| f.data_type()))),
_ => panic!("StructArray must be initialized with DataType::Struct"),
};
let self_ = Self {
Expand Down

0 comments on commit aa9af03

Please sign in to comment.