From c0041aafcbcbdc1eecd2aab3089401c3c021310d Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Wed, 30 Dec 2020 07:03:04 -0500 Subject: [PATCH] fix lint error --- rust/arrow/src/ipc/reader.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rust/arrow/src/ipc/reader.rs b/rust/arrow/src/ipc/reader.rs index 5bd465b78eb..d3f282961d1 100644 --- a/rust/arrow/src/ipc/reader.rs +++ b/rust/arrow/src/ipc/reader.rs @@ -160,10 +160,7 @@ fn create_array( let null_count = struct_node.null_count() as usize; let struct_array = if null_count > 0 { // create struct array from fields, arrays and null data - StructArray::from(( - struct_arrays, - null_buffer, - )) + StructArray::from((struct_arrays, null_buffer)) } else { StructArray::from(struct_arrays) };