Skip to content

Commit

Permalink
optimizer the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
liukun4515 committed Aug 2, 2022
1 parent 391ed67 commit f260d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrow/src/util/decimal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ fn singed_cmp_le_bytes(left: &[u8], right: &[u8]) -> Ordering {
left.len(),
right.len()
);
assert_ne!(left.len(), 0, "Can't compare bytes array with zero len");
assert_ne!(left.len(), 0, "Can't compare bytes array of length 0");
let len = left.len();
let left_negative = left[len - 1] >= 0x80_u8;
let right_negative = right[len - 1] >= 0x80_u8;
Expand Down

0 comments on commit f260d58

Please sign in to comment.