From 9e3c7e2c90f1d581f9ac57653f7aa190a0d656ca Mon Sep 17 00:00:00 2001 From: Brent Gardner Date: Fri, 29 Sep 2023 14:40:24 -0600 Subject: [PATCH] fmt --- arrow-select/src/take.rs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/arrow-select/src/take.rs b/arrow-select/src/take.rs index 7cb78d2f5d43..069c9529f8a9 100644 --- a/arrow-select/src/take.rs +++ b/arrow-select/src/take.rs @@ -2039,12 +2039,19 @@ mod tests { Some((Some(true), Some(31))), None, ]); - let strings = StringArray::from(vec![Some("a"), None, Some("c"), None, Some("d")]); + let strings = + StringArray::from(vec![Some("a"), None, Some("c"), None, Some("d")]); let type_ids = Buffer::from_slice_ref(vec![1i8; 5]); let children: Vec<(Field, Arc)> = vec![ - (Field::new("f1", structs.data_type().clone(), true), Arc::new(structs)), - (Field::new("f2", strings.data_type().clone(), true), Arc::new(strings)), + ( + Field::new("f1", structs.data_type().clone(), true), + Arc::new(structs), + ), + ( + Field::new("f2", strings.data_type().clone(), true), + Arc::new(strings), + ), ]; let array = UnionArray::try_new(&[0, 1], type_ids, None, children).unwrap();