From 90e4fabf2ce267483816ea1fd4e60a59999f9e67 Mon Sep 17 00:00:00 2001 From: Jeremy Leibs Date: Wed, 1 Mar 2023 19:53:07 +0100 Subject: [PATCH] cargo fmt --- arrow2_convert/tests/test_round_trip.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arrow2_convert/tests/test_round_trip.rs b/arrow2_convert/tests/test_round_trip.rs index 184385b..d9a6ed3 100644 --- a/arrow2_convert/tests/test_round_trip.rs +++ b/arrow2_convert/tests/test_round_trip.rs @@ -197,10 +197,11 @@ fn test_primitive_type_vec() { // `arrow2::types::f16` isn't a native type so we can't just use `as` { - let original_array: Vec = vec![1.0, 2.5, 47800.0, 0.000012, -0.0, 0.0, INFINITY] - .iter() - .map(|f| arrow2::types::f16::from_f32(*f)) - .collect(); + let original_array: Vec = + vec![1.0, 2.5, 47800.0, 0.000012, -0.0, 0.0, INFINITY] + .iter() + .map(|f| arrow2::types::f16::from_f32(*f)) + .collect(); let b: Box = original_array.try_into_arrow().unwrap(); let round_trip: Vec = b.try_into_collection().unwrap(); assert_eq!(original_array, round_trip);