Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
berkaysynnada committed Nov 28, 2023
1 parent 7855304 commit 4abfe42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions arrow-ord/src/cmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
use arrow_array::cast::AsArray;
use arrow_array::types::{ByteArrayType, Int64Type, IntervalDayTimeType, IntervalMonthDayNanoType};
use arrow_array::{
downcast_primitive_array, AnyDictionaryArray, Array, ArrowNativeTypeOp, BooleanArray,
BooleanArray, Datum, FixedSizeBinaryArray, GenericByteArray, PrimitiveArray,
downcast_primitive_array, AnyDictionaryArray, Array, ArrowNativeTypeOp, BooleanArray, Datum,
FixedSizeBinaryArray, GenericByteArray, PrimitiveArray,
};
use arrow_buffer::bit_util::ceil;
use arrow_buffer::{BooleanBuffer, MutableBuffer, NullBuffer};
Expand Down
8 changes: 2 additions & 6 deletions arrow-ord/src/comparison.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2047,18 +2047,14 @@ mod tests {
assert_eq!(res, res_eq);
assert_eq!(
&res,
&BooleanArray::from(
vec![ Some(true), Some(true), Some(true), Some(true), Some(false)]
)
&BooleanArray::from(vec![ Some(true), Some(true), Some(true), Some(true), Some(false)])
);
let res = lt(&b, &a).unwrap();
let res_eq = lt_eq(&b, &a).unwrap();
assert_eq!(res, res_eq);
assert_eq!(
&res,
&BooleanArray::from(
vec![ Some(true), Some(true), Some(true), Some(true), Some(false)]
)
&BooleanArray::from(vec![ Some(true), Some(true), Some(true), Some(true), Some(false)])
);

let a = IntervalMonthDayNanoArray::from(
Expand Down

0 comments on commit 4abfe42

Please sign in to comment.