Skip to content

Commit

Permalink
Fixing clippy -- useless conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
milevin committed Dec 19, 2024
1 parent 4f7628c commit 6030e82
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions arrow-arith/src/numeric.rs
Original file line number Diff line number Diff line change
Expand Up @@ -836,15 +836,7 @@ fn interval_div_op<T: IntervalOp>(
l_s,
r_int,
r_s,
T::div_int(
l_interval,
r_int.try_into().map_err(|e| {
ArrowError::InvalidArgumentError(format!(
"Cannot safely convert {:?} to i32: {}",
r_int, e
))
})?
)
T::div_int(l_interval, r_int)
))
}
DataType::Float64 => {
Expand Down

0 comments on commit 6030e82

Please sign in to comment.