From 20f20f995843204958c34da0fe93192b436c1b0f Mon Sep 17 00:00:00 2001 From: melkor Date: Thu, 14 Jul 2022 18:05:47 -0700 Subject: [PATCH] Use `()` instead of `{}` --- src/array/fixed_size_list/mutable.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/array/fixed_size_list/mutable.rs b/src/array/fixed_size_list/mutable.rs index b51f02f58c4..5798e4472e2 100644 --- a/src/array/fixed_size_list/mutable.rs +++ b/src/array/fixed_size_list/mutable.rs @@ -48,7 +48,7 @@ impl MutableFixedSizeListArray { pub fn new_from(values: M, data_type: DataType, size: usize) -> Self { assert_eq!(values.len(), 0); match data_type { - DataType::FixedSizeList(..) => {}, + DataType::FixedSizeList(..) => (), _ => panic!("data type must be FixedSizeList (got {:?})", data_type), }; Self {